re PR tree-optimization/48195 (ICE: vector VEC(ipa_node_params_t,base) index domain...
authorMartin Jambor <mjambor@suse.cz>
Mon, 11 Apr 2011 14:25:55 +0000 (16:25 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 11 Apr 2011 14:25:55 +0000 (16:25 +0200)
commit57dbdc5a66ce818e168dc5f3d364b9d9cad3826a
treee690b4ca50737bf970f32c7f639f74ec84803fd1
parentd0bfa8b5ab2c72a8e0aed04308bee6f47af75ad6
re PR tree-optimization/48195 (ICE: vector VEC(ipa_node_params_t,base) index domain error, in ipa_analyze_node at ipa-prop.c:1525 with -flto --param partial-inlining-entry-probability=101)

2011-04-11  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/48195
* ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and
ipa_check_create_edge_args.
(ipcp_generate_summary): Do not call ipa_check_create_node_params and
ipa_check_create_edge_args.
* ipa-inline.c (inline_generate_summary): Do not call
ipa_check_create_node_params and ipa_check_create_edge_args.
* ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and
ipa_check_create_edge_args.

* testsuite/gcc.dg/ipa/pr48195.c: New test.

From-SVN: r172256
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-inline.c
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr48195.c [new file with mode: 0644]