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]
Other format: [Raw text]

[Bug lto/53312] crash in materialize_cgraph (invalid free)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53312

--- Comment #2 from philippe.waroquiers at skynet dot be 2012-05-11 22:16:25 UTC ---
(In reply to comment #1)
> This looks like PR53214 - unable to verify without a testcase though.  Thus,
> please try a recent GCC 4.7 snapshot instead.  You can also simply grep for
> optimization attribute usage in your sources.

It looks effectively the same (or least similar).
In my case, the offending line was:
# pragma GCC optimize("-fomit-frame-pointer")

When removing this line, the crash disappeared.
I suppose this is the same bug as PR53214 (even if this bug
was with attribute rather than pragma).

Thanks for the help


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