mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
Don't use post-increment on structure copy to work around a ppc gcc bug.
This commit is contained in:
@@ -132,7 +132,8 @@ DEFUN (symtab_finalize, (tab), Sym_Table * tab)
|
||||
/* retain sym only if it has a non-empty address range: */
|
||||
if (!src->end_addr || src->addr <= src->end_addr)
|
||||
{
|
||||
*dst++ = *src;
|
||||
*dst = *src;
|
||||
dst++;
|
||||
prev_addr = src->addr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user