This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r111862 - in /trunk/gcc: ChangeLog fold-const.c...
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 09 Mar 2006 14:54:12 -0000
- Subject: r111862 - in /trunk/gcc: ChangeLog fold-const.c...
Author: sayle
Date: Thu Mar 9 14:54:11 2006
New Revision: 111862
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111862
Log:
2006-03-09 Roger Sayle <roger@eyesopen.com>
Eric Botcazou <ebotcazou@libertysurf.fr>
PR middle-end/26561
* fold-const.c (fold_div_compare): When optimizing X/C1 op C2 as
X op C3, consider whether C3 overflows towards +Inf or -Inf.
* gcc.c-torture/execute/divcmp-5.c: New test case.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/divcmp-5.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog