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: "rguenth 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 15:16:28 +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 #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-08 15:16:28 UTC ---
Author: rguenth
Date: Tue Nov 8 15:16:22 2011
New Revision: 181166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181166
Log:
2011-11-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51012
* ipa-prop.c (update_indirect_edges_after_inlining): Fixup
non-inlinable state.
* cgraph.c (cgraph_make_edge_direct): Likewise.
* gcc.dg/pr51012-1.c: New testcase.
* gcc.dg/pr51012-2.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr51012-1.c
trunk/gcc/testsuite/gcc.dg/pr51012-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/ipa-prop.c
trunk/gcc/testsuite/ChangeLog