]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/class.c
re PR c++/33620 (internal compiler error: canonical types differ for identical types...
authorJason Merrill <jason@redhat.com>
Mon, 22 Oct 2007 18:03:10 +0000 (14:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 22 Oct 2007 18:03:10 +0000 (14:03 -0400)
commit5818c8e43667f9e256b2d730a9a7d7bf56cbce83
tree2d278ce5c068769ddd0d3b21740338eeff8c9022
parent22a5d0133dae10ca048e822f180e40cf9400a253
re PR c++/33620 (internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>)

        PR c++/33620
        * class.c (finish_struct_bits): Copy TYPE_ATTRIBUTES.
        * pt.c (apply_late_template_attributes): Splice out dependent
        attributes from DECL_ATTRIBUTES.

        * decl.c (cxx_maybe_build_cleanup): Use build_address.

From-SVN: r129553
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/ext/tmplattr7.C [new file with mode: 0644]