OSDN Git Service

2007-02-09 Zdenek Dvorak <dvorakz@suse.cz>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Feb 2007 13:29:11 +0000 (13:29 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Feb 2007 13:29:11 +0000 (13:29 +0000)
commita9995c228c997c1440d149c0701222db187204d0
treea7c503e98956c6e5d624c17e6ed753cc613964aa
parentbbd74a204aee79bc299885935e4f43f09a0e75e9
2007-02-09  Zdenek Dvorak  <dvorakz@suse.cz>
Richard Guenther  <rguenther@suse.de>

PR middle-end/23361
* fold-const.c (fold_comparison): Handle obfuscated comparisons
against INT_MIN/INT_MAX.
* tree-ssa-loop-ivcanon.c (remove_empty_loop): Print to dump
file if a loop is removed.

* gcc.dg/fold-compare-3.c: New testcase.
* gcc.dg/tree-ssa/loop-24.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121742 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-compare-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/loop-24.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivcanon.c