This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-970828 bug with -fprofile-arcs


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]