------- Comment #13 from rguenth at gcc dot gnu dot org  2010-04-27 12:16 
-------
Subject: Bug 38564

Author: rguenth
Date: Tue Apr 27 12:15:53 2010
New Revision: 158782

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158782
Log:
2010-04-27  Richard Guenther  <rguent...@suse.de>

        Backport from mainline
        2008-12-29  Richard Guenther  <rguent...@suse.de>

        PR middle-end/38564
        * fold-const.c (fold_comparison): Use the correct result type.

        * gcc.c-torture/compile/pr38564.c: New testcase.
        * g++.dg/other/pr40561.C: Likewise.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/pr40561.C
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr38564.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/fold-const.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to