This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26561] [4.2 Regression] ACATS failures c34004a, c46033a and cxg2024 at -O0



------- Comment #7 from sayle at gcc dot gnu dot org  2006-03-09 14:54 -------
Subject: Bug 26561

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26561


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]