[Bug rtl-optimization/33886] [4.3 regression] internal compiler error: canonical types differ for identical types

dgregor at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 6 14:40:00 GMT 2007



------- Comment #2 from dgregor at gcc dot gnu dot org  2007-11-06 14:39 -------
Subject: Bug 33886

Author: dgregor
Date: Tue Nov  6 14:39:41 2007
New Revision: 129929

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129929
Log:
2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/33977
        PR c++/33886
        * tree.c (c_build_qualified_type): Define bridge to
        cp_build_qualified_type.

2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/33977
        PR c++/33886
        * c-common.c (c_build_qualified_type): Moved to c-typeck.c.
        (complete_array_type): Set canonical type appropriately.
        * c-typeck.c (c_build_qualified_type): Moved from c-common.c. The
        C and C++ front ends now have different versions of this function,
        because the C++ version needs to maintain canonical types here.

2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/33977
        PR c++/33886
        * g++.dg/other/canon-array.C: New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/c-typeck.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list