[Bug tree-optimization/51039] [4.7 Regression] ICE: in estimate_function_body_sizes, at ipa-inline-analysis.c:1977 with -finline-small-functions -fno-ipa-pure-const and passing incompatible function ptr
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 9 13:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51039
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-09 13:43:07 UTC ---
Author: rguenth
Date: Wed Nov 9 13:43:02 2011
New Revision: 181205
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181205
Log:
2011-11-09 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51039
* tree-cfg.c (verify_gimple_call): Verify that
gimple_call_cannot_inline_p is returning a conservative
correct result according to gimple_check_call_matching_types.
* ipa-inline-analysis.c (estimate_function_body_sizes): Remove
code dealing with un-inlinablility.
* gimple-streamer-in.c (input_gimple_stmt): Update the
non-inlinable flag.
* gcc.dg/pr51039.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr51039.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-streamer-in.c
trunk/gcc/ipa-inline-analysis.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-cfg.c
More information about the Gcc-bugs
mailing list