]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/19296 (Range check on short miscompiled at -O)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 18 Jan 2005 08:39:29 +0000 (09:39 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 18 Jan 2005 08:39:29 +0000 (08:39 +0000)
commit0bab126887e6681c1d123f4c75affb7dad060680
tree3b5a326a49becd3af6f3600a93439b3095b369e1
parent8dccef75ba4c1e565704e2de5fec33f4f43e767a
re PR rtl-optimization/19296 (Range check on short miscompiled at -O)

PR rtl-optimization/19296
* combine.c (simplify_comparison): Rewrite the condition under
which a non-paradoxical SUBREG of a PLUS can be lifted when
compared against a constant.

From-SVN: r93822
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/short-compare-1.c
gcc/testsuite/gcc.dg/short-compare-2.c