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 tree-optimization/51012] [4.7 Regression] ICE: in fold_convert_loc, at fold-const.c:1897 with -fno-early-inlining and passing incompatible function ptr


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

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-11-08 13:06:29 UTC ---
(In reply to comment #2)
> 
> What about WPA stage?  I think we don't "fixup" inlinable status of
> edges at the beginning of ltrans (or inline transform).  Do we?

No.  And unless this got addressed meanwhile, we don't need indirect
inlining to hit this bug with LTO (I belive
https://bugzilla.mozilla.org/show_bug.cgi?id=652563 is a manifestation
of this problem).  IIRC, Honza had plausible reasons why un-doing
inlining decisions is tough but we eventually either need that or
store types of arguments along each call graph edge.


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