projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d7f9a
)
Don't use post-increment on structure copy to work around a ppc gcc bug.
author
Alan Modra
<amodra@gmail.com>
Fri, 31 Mar 2000 02:57:38 +0000
(
02:57
+0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 31 Mar 2000 02:57:38 +0000
(
02:57
+0000)
gprof/ChangeLog
patch
|
blob
|
history
gprof/symtab.c
patch
|
blob
|
history
diff --git
a/gprof/ChangeLog
b/gprof/ChangeLog
index 8be42e9acac6e8ffbddbdfd67c05ec18330cdf1e..c4742ffffd39a9c151c6f226526e4a48a82ce423 100644
(file)
--- a/
gprof/ChangeLog
+++ b/
gprof/ChangeLog
@@
-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
diff --git
a/gprof/symtab.c
b/gprof/symtab.c
index 53b261a70efa5989cc89b9fa7c080cc9e25e1c47..e4fda46533f86e477c3958c2188a0415f8ba7478 100644
(file)
--- a/
gprof/symtab.c
+++ b/
gprof/symtab.c
@@
-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;
}
}