diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-11 14:25:55 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-11 14:25:55 +0000 |
commit | 6416d4a527e4a99c8fe484cfd0f9fab7f4048f28 (patch) | |
tree | e690b4ca50737bf970f32c7f639f74ec84803fd1 /gcc/ipa-prop.c | |
parent | 942aa740d1efecb4c813c48f20cdcc3804d7dda7 (diff) | |
download | gcc-6416d4a527e4a99c8fe484cfd0f9fab7f4048f28.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index edeffc2533c..0587844e354 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -1522,10 +1522,13 @@ ipa_analyze_params_uses (struct cgraph_node *node, void ipa_analyze_node (struct cgraph_node *node) { - struct ipa_node_params *info = IPA_NODE_REF (node); + struct ipa_node_params *info; struct param_analysis_info *parms_info; int i, param_count; + ipa_check_create_node_params (); + ipa_check_create_edge_args (); + info = IPA_NODE_REF (node); push_cfun (DECL_STRUCT_FUNCTION (node->decl)); current_function_decl = node->decl; ipa_initialize_node_params (node); |