re PR tree-optimization/51012 (ICE: in fold_convert_loc, at fold-const.c:1897 with...
authorRichard Guenther <rguenther@suse.de>
Tue, 8 Nov 2011 15:16:22 +0000 (15:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 8 Nov 2011 15:16:22 +0000 (15:16 +0000)
commitf2906a8e9e0ed8aba6a7e39a1986f785e9d467f1
treec00e0356ac03d362aa0c47b542073da126813776
parenta59526334d3f36a43f94cdd29ac661eb59260bc6
re PR tree-optimization/51012 (ICE: in fold_convert_loc, at fold-const.c:1897 with -fno-early-inlining and passing incompatible function ptr)

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.

From-SVN: r181166
gcc/ChangeLog
gcc/cgraph.c
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr51012-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr51012-2.c [new file with mode: 0644]