------- Comment #9 from rguenth at gcc dot gnu dot org  2006-09-01 21:49 -------
Subject: Bug 28814

Author: rguenth
Date: Fri Sep  1 21:49:05 2006
New Revision: 116642

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116642
Log:
2006-09-01  Richard Guenther  <[EMAIL PROTECTED]>

        Backport from mainline:
        PR middle-end/28814
        * fold-const.c (fold_binary): Fold temporary to correct
        type before constructing new comparison.

        * gcc.dg/torture/pr28814.c: New testcase.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr28814.c
      - copied unchanged from r116439,
trunk/gcc/testsuite/gcc.dg/torture/pr28814.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/fold-const.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to