This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: GCC problem with using "-fprofile-arcs"


Wei.Feng@sybase.com wrote:

The GCC: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-34)

The fail message is:
/usr/include/bits/sigset.h: At top level:
/usr/include/bits/sigset.h:119: .da file contents not exhausted
...failed Cc treeprint.o ...


I wonder if this is a known issue of GCC (A Bug)?
Or there are some limitations of using "-fprofile-arcs"? Such as you can not combine it with "-O", "-O2" etc. Or you can not have "goto" in the source files etc.?

There were issues with the data file format, which was redesigned in gcc 3.4, and there have been improvements in the profile driven optimizers. You should be able to combine it with other optimization option options -- that's kind of the whole point :) however, 3.2 is not longer supported, and it is unlikely that, if you find a similar problem in 3.3, that it will be fixed in that version.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


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