------- Comment #5 from kazu at gcc dot gnu dot org  2005-12-22 04:03 -------
Subject: Bug 23518

Author: kazu
Date: Thu Dec 22 04:03:32 2005
New Revision: 108940

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108940
Log:
gcc/
        PR tree-optimization/23518
        * fold-const.c (make_range): Don't move a constant to the
        other side of the comparison if the type is signed and -fwrapv
        is given.

gcc/testsuite/
        PR tree-optimization/23518
        * testsuite/gcc.dg/pr23518.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr23518.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


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

Reply via email to