Commit dd884525 by Jeff Law Committed by Jeff Law

tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing check for…

tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing check for INTEGRAL_TYPE_P that was missing due to checking in wrong...

        * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing
        check for INTEGRAL_TYPE_P that was missing due to checking in wrong
        version of prior patch.

From-SVN: r197082
parent 0051d3ec
2013-03-25 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing
check for INTEGRAL_TYPE_P that was missing due to checking in
wrong version of prior patch.
2013-03-25 Walter Lee <walt@tilera.com> 2013-03-25 Walter Lee <walt@tilera.com>
* config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add
......
...@@ -1153,7 +1153,8 @@ record_equivalences_from_incoming_edge (basic_block bb) ...@@ -1153,7 +1153,8 @@ record_equivalences_from_incoming_edge (basic_block bb)
/* If the constant is in the range of the type of OLD_RHS, /* If the constant is in the range of the type of OLD_RHS,
then convert the constant and record the equivalence. */ then convert the constant and record the equivalence. */
if (int_fits_type_p (rhs, TREE_TYPE (old_rhs))) if (INTEGRAL_TYPE_P (TREE_TYPE (old_rhs))
&& int_fits_type_p (rhs, TREE_TYPE (old_rhs)))
{ {
tree newval = fold_convert (TREE_TYPE (old_rhs), rhs); tree newval = fold_convert (TREE_TYPE (old_rhs), rhs);
record_equality (old_rhs, newval); record_equality (old_rhs, newval);
......
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