------- Comment #21 from rguenth at gcc dot gnu dot org  2007-01-05 20:59 
-------
Subject: Bug 27826

Author: rguenth
Date: Fri Jan  5 20:59:15 2007
New Revision: 120497

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

        PR middle-end/27826
        * tree.c (get_narrower): Do not construct COMPONENT_REFs
        with mismatched types.  Instead explicitly build a
        conversion NOP_EXPR.

        * g++.dg/opt/pr27826.C: New testcase.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/pr27826.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/tree.c


-- 


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

Reply via email to