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.