]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/53676 (empty loop is not always removed now)
authorRichard Guenther <rguenther@suse.de>
Wed, 27 Jun 2012 11:32:30 +0000 (11:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 27 Jun 2012 11:32:30 +0000 (11:32 +0000)
commit195b4c507f3c0552ac78530513e4da5d227215c6
treed0a3413286a82915919c9aaf8c25c24327aaa711
parentbe7493cabbc288d598ac3ede0fc8395e780d1cfa
re PR middle-end/53676 (empty loop is not always removed now)

2012-06-27  Richard Guenther  <rguenther@suse.de>

PR middle-end/53676
* tree-chrec.c (chrec_convert_1): Represent truncation to
a type with undefined overflow as truncation to an unsigned
type converted to the type with undefined overflow.
* tree-scalar-evolution.c (interpret_rhs_expr): For computing
the scalar evolution of a truncated widened operation avoid
looking at the non-existing evolution of the widened operation
result.

* gcc.dg/tree-ssa/scev-6.c: New testcase.

From-SVN: r189013
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/scev-6.c [new file with mode: 0644]
gcc/tree-chrec.c
gcc/tree-scalar-evolution.c
This page took 0.069545 seconds and 5 git commands to generate.