egcs-970828 bug with -fprofile-arcs
Joseph S. Myers
jsm28@hermes.cam.ac.uk
Fri Sep 5 11:51:00 GMT 1997
On Thu, 4 Sep 1997, Jim Wilson wrote:
> Ok. I see now that we need some additional tests. Here is another patch.
There also seem to be link errors if -O3 or -finline-functions is used.
(egcs-970904 with both of your patches to profile.c)
$ gcc -finline-functions -fprofile-arcs hello.c
/tmp/cca034841.o(.ctors+0x0): undefined reference to `global constructors
keyed to mainGCOV'
collect2: ld returned 1 exit status
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-bugs
mailing list