------- Comment #8 from rguenth at gcc dot gnu dot org  2009-06-17 13:06 -------
Subject: Bug 40404

Author: rguenth
Date: Wed Jun 17 13:06:21 2009
New Revision: 148610

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148610
Log:
2009-06-17  Richard Guenther  <rguent...@suse.de>

        PR middle-end/40404
        * fold-const.c (fold_binary): Verify the type precision of the
        stripped arguments of the comparison are the same before
        folding the comparison.

        * gcc.c-torture/execute/pr40404.c: New testcase.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr40404.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=40404

Reply via email to