Commit 1fc8feb5 by Martin Jambor Committed by H.J. Lu

re PR tree-optimization/36926 (Revision 138092 breaks building of xalancbmk)

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.

From-SVN: r138148
parent 42dec64c
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.
2008-07-25 Joseph Myers <joseph@codesourcery.com> 2008-07-25 Joseph Myers <joseph@codesourcery.com>
* config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal, * config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal,
......
...@@ -741,7 +741,7 @@ ipa_analyze_call_uses (struct ipa_node_params *info, tree call, tree stmt) ...@@ -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. */ pointer that is a parameter to this function. */
n1 = PHI_ARG_DEF (def, 0); n1 = PHI_ARG_DEF (def, 0);
n2 = PHI_ARG_DEF (def, 1); 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; return;
d1 = SSA_NAME_DEF_STMT (n1); d1 = SSA_NAME_DEF_STMT (n1);
d2 = SSA_NAME_DEF_STMT (n2); d2 = SSA_NAME_DEF_STMT (n2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment