This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Nov 2011 13:06:29 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-51012-4@http.gcc.gnu.org/bugzilla/>
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.