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

philippe.waroquiers at skynet dot be gcc-bugzilla@gcc.gnu.org
Fri May 11 22:33:00 GMT 2012


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



More information about the Gcc-bugs mailing list