[Bug c++/45984] [4.6 Regression] ICE: canonical types differ for identical types

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 14 00:50:00 GMT 2010


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2010-10-14 00:50:30 UTC ---
Author: jason
Date: Thu Oct 14 00:50:26 2010
New Revision: 165443

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165443
Log:
    PR c++/45984
    * class.c (fixup_attribute_variants): New fn.
    * cp-tree.h: Declare it.
    * pt.c (instantiate_class_template): Call it.
    * semantics.c (begin_class_definition): Call it.

Added:
    trunk/gcc/testsuite/g++.dg/template/canon-type-8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list