From 1fc8feb560d1cca0c0a6189a8635b05de8a8fa3d Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Fri, 25 Jul 2008 22:30:35 +0200 Subject: [PATCH] re PR tree-optimization/36926 (Revision 138092 breaks building of xalancbmk) 2008-07-25 Martin Jambor 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. From-SVN: r138148 --- gcc/ChangeLog | 6 ++++++ gcc/ipa-prop.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 25a84499328..63f0ed2ef72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-07-25 Martin Jambor + + 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. + 2008-07-25 Joseph Myers * config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal, 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); -- 2.30.2