[Bug middle-end/28045] [4.0/4.1 Regression] Bitfield, &&, and optimization => bad code generation

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 23 09:57:00 GMT 2006



------- Comment #9 from rguenth at gcc dot gnu dot org  2006-06-23 09:52 -------
Subject: Bug 28045

Author: rguenth
Date: Fri Jun 23 09:52:40 2006
New Revision: 114929

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114929
Log:
2006-06-23  Richard Guenther  <rguenther@suse.de>

        PR middle-end/28045
        * fold-const.c (operand_equal_p): Check if the argument types
        have the same precision before stripping NOPs.

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

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr28045.c
      - copied unchanged from r114772,
trunk/gcc/testsuite/gcc.dg/torture/pr28045.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=28045



More information about the Gcc-bugs mailing list