PR bootstrap/49086
* gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL
for PHI args that are SSA_NAME_IS_DEFAULT_DEF.
From-SVN: r173967
+2011-05-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/49086
+ * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL
+ for PHI args that are SSA_NAME_IS_DEFAULT_DEF.
+
2011-05-20 Joseph Myers <joseph@codesourcery.com>
* Makefile.in: Update comment referring to $(OBJS-common).
code2, op2a, op2b))
return NULL_TREE;
}
- else if (TREE_CODE (arg) == SSA_NAME)
+ else if (TREE_CODE (arg) == SSA_NAME
+ && !SSA_NAME_IS_DEFAULT_DEF (arg))
{
tree temp;
gimple def_stmt = SSA_NAME_DEF_STMT (arg);
code2, op2a, op2b))
return NULL_TREE;
}
- else if (TREE_CODE (arg) == SSA_NAME)
+ else if (TREE_CODE (arg) == SSA_NAME
+ && !SSA_NAME_IS_DEFAULT_DEF (arg))
{
tree temp;
gimple def_stmt = SSA_NAME_DEF_STMT (arg);