re PR tree-optimization/26795 (ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579)

2006-03-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/26795
        * tree-ssa-pre.c (create_value_expr_from): Don't reject
        expressions which have overflowed constants.

From-SVN: r112319
This commit is contained in:
Andrew Pinski 2006-03-23 15:09:51 +00:00 committed by Andrew Pinski
parent 79b9dd8ccf
commit 60fee15737
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2006-03-23 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/26795
* tree-ssa-pre.c (create_value_expr_from): Don't reject
expressions which have overflowed constants.
2006-03-23 Zdenek Dvorak <dvorakz@suse.cz>
* cse.c (cse_end_of_basic_block): Do not check for LOOP_END note.

View File

@ -2938,15 +2938,6 @@ create_value_expr_from (tree expr, basic_block block, tree stmt)
if (op == NULL_TREE)
continue;
/* If OP is a constant that has overflowed, do not value number
this expression. */
if (CONSTANT_CLASS_P (op)
&& TREE_OVERFLOW (op))
{
pool_free (pool, vexpr);
return NULL;
}
/* Recursively value-numberize reference ops and tree lists. */
if (REFERENCE_CLASS_P (op))
{