This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/53312] crash in materialize_cgraph (invalid free)
- From: "philippe.waroquiers at skynet dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 May 2012 22:16:25 +0000
- Subject: [Bug lto/53312] crash in materialize_cgraph (invalid free)
- Auto-submitted: auto-generated
- References: <bug-53312-4@http.gcc.gnu.org/bugzilla/>
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