[Bug lto/53312] crash in materialize_cgraph (invalid free)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53312 --- Comment #4 from philippe.waroquiers at skynet dot be --- (In reply to Eric Gallager from comment #3) > (In reply to philippe.waroquiers from comment #2) > > (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 > > And that one was fixed, so I guess this is fixed too then. I tried to compile a recent Valgrind with the lto option, but it fails (might be related some hacks used by Valgrind based on a .o produced during the compilation). I have put on my list of things to do to further try -flto but in any case, it looks reasonable to consider this bug fixed. Thanks for the feedback
[Bug lto/53312] crash in materialize_cgraph (invalid free)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53312 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED CC||egallager at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Eric Gallager --- (In reply to philippe.waroquiers from comment #2) > (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 And that one was fixed, so I guess this is fixed too then.
[Bug lto/53312] crash in materialize_cgraph (invalid free)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53312 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2012-05-11 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2012-05-11 08:46:37 UTC --- 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.
[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