re PR tree-optimization/51039 (ICE: in estimate_function_body_sizes, at ipa-inline...
authorRichard Guenther <rguenther@suse.de>
Wed, 9 Nov 2011 13:43:02 +0000 (13:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 Nov 2011 13:43:02 +0000 (13:43 +0000)
commit03cb5f3988646680362082c19ddcba7c534d6a83
tree524fa049f2662f6ef1b7960ace71e77bbaa25b55
parentc4ac6e9400db96df9e82434acc513060853ed2e1
re PR tree-optimization/51039 (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)

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.

From-SVN: r181205
gcc/ChangeLog
gcc/gimple-streamer-in.c
gcc/ipa-inline-analysis.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr51039.c [new file with mode: 0644]
gcc/tree-cfg.c