mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 01:30:44 +08:00
re PR lto/42985 (Internal compiler error: in ipcp_iterate_stage with different opt level)
2010-02-10 Martin Jambor <mjambor@suse.cz> PR lto/42985 * ipa-prop.c (ipa_update_after_lto_read): Count parameters and check for variable argument counts independently. From-SVN: r156651
This commit is contained in:
parent
9e3c399e02
commit
563cb662c8
@ -1,3 +1,9 @@
|
||||
2010-02-10 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR lto/42985
|
||||
* ipa-prop.c (ipa_update_after_lto_read): Count parameters and
|
||||
check for variable argument counts independently.
|
||||
|
||||
2010-02-10 Christian Bruel <christian.bruel@st.com>
|
||||
|
||||
PR target/42841
|
||||
|
@ -2206,17 +2206,17 @@ ipa_update_after_lto_read (void)
|
||||
ipa_check_create_edge_args ();
|
||||
|
||||
for (node = cgraph_nodes; node; node = node->next)
|
||||
{
|
||||
if (!node->analyzed)
|
||||
continue;
|
||||
if (node->analyzed)
|
||||
ipa_initialize_node_params (node);
|
||||
|
||||
for (node = cgraph_nodes; node; node = node->next)
|
||||
if (node->analyzed)
|
||||
for (cs = node->callees; cs; cs = cs->next_callee)
|
||||
{
|
||||
if (ipa_get_cs_argument_count (IPA_EDGE_REF (cs))
|
||||
!= ipa_get_param_count (IPA_NODE_REF (cs->callee)))
|
||||
ipa_set_called_with_variable_arg (IPA_NODE_REF (cs->callee));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Walk param call notes of NODE and set their call statements given the uid
|
||||
|
Loading…
x
Reference in New Issue
Block a user