Commit bababbfb by Eric Botcazou Committed by Eric Botcazou

re PR tree-optimization/60174 (ICE on ACATS cc3305a)

	PR tree-optimization/60174
	* tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
	statement of an SSA_NAME that occurs in an abnormal PHI node.

From-SVN: r207859
parent a1535f52
2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/60174
* tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
statement of an SSA_NAME that occurs in an abnormal PHI node.
2014-02-18 Jakub Jelinek <jakub@redhat.com> 2014-02-18 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/60142 PR sanitizer/60142
......
...@@ -1840,7 +1840,8 @@ init_range_entry (struct range_entry *r, tree exp, gimple stmt) ...@@ -1840,7 +1840,8 @@ init_range_entry (struct range_entry *r, tree exp, gimple stmt)
if (exp != NULL_TREE) if (exp != NULL_TREE)
{ {
if (TREE_CODE (exp) != SSA_NAME) if (TREE_CODE (exp) != SSA_NAME
|| SSA_NAME_OCCURS_IN_ABNORMAL_PHI (exp))
break; break;
stmt = SSA_NAME_DEF_STMT (exp); stmt = SSA_NAME_DEF_STMT (exp);
......
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