Don't use post-increment on structure copy to work around a ppc gcc bug.

This commit is contained in:
Alan Modra 2000-03-31 02:57:38 +00:00
parent 65d7f9a691
commit ccb57eba1c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-03-31 Alan Modra <alan@linuxcare.com.au>
* symtab.c (symtab_finalize): Don't use post-increment on
structure copy to work around a ppc gcc bug.
1999-09-29 Mark Kettenis <kettenis@gnu.org>
* hertz.h [MACH] (hertz): Remove macro. The

View File

@ -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;
}
}