[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

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 8 13:25:00 GMT 2011


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.



More information about the Gcc-bugs mailing list