summaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-25 20:30:35 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-25 20:30:35 +0000
commit886eebf8b65c7f73ebcf35b8ba27fb313511661f (patch)
tree0383863f28689e56397fa63072a8db6260808f17 /gcc/ipa-prop.c
parent6c4a5e40ef0b9878ac9fda55cca44eae27d0a7e0 (diff)
downloadgcc-886eebf8b65c7f73ebcf35b8ba27fb313511661f.tar.gz
2008-07-25 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/36926 * ipa-prop.c (ipa_analyze_call_uses): Call ipa_is_ssa_with_stmt_def instead of SSA_NAME_IS_DEFAULT_DEF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138148 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index faa43dbd7c0..c87a5777b1b 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -741,7 +741,7 @@ ipa_analyze_call_uses (struct ipa_node_params *info, tree call, tree stmt)
pointer that is a parameter to this function. */
n1 = PHI_ARG_DEF (def, 0);
n2 = PHI_ARG_DEF (def, 1);
- if (SSA_NAME_IS_DEFAULT_DEF (n1) || SSA_NAME_IS_DEFAULT_DEF (n2))
+ if (!ipa_is_ssa_with_stmt_def (n1) || !ipa_is_ssa_with_stmt_def (n2))
return;
d1 = SSA_NAME_DEF_STMT (n1);
d2 = SSA_NAME_DEF_STMT (n2);