OSDN Git Service

DR 176 permissiveness
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2009 03:12:07 +0000 (03:12 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2009 03:12:07 +0000 (03:12 +0000)
commit013143e015ea9a0a876b60b1143ca3b234f1aea3
tree63905b727771eafda1e6f825efab72f97791999e
parent440b1717f82deb75ab63dc4f043323abeddcef7f
DR 176 permissiveness
gcc/
* dwarf2out.c (get_context_die): Take TYPE_MAIN_VARIANT.
gcc/cp/
* class.c (build_self_reference): Call set_underlying_type.
* decl.c (check_elaborated_type_specifier): Don't complain about
injected-class-name.
(type_is_deprecated): Use TYPE_MAIN_VARIANT.
* pt.c (convert_template_argument): Handle injected-class-name used
as template template argument.
* typeck2.c (abstract_virtuals_error): Use TYPE_MAIN_VARIANT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154354 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/typeck2.c
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/injected-ttp.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/niklas01a.C
gcc/testsuite/g++.old-deja/g++.pt/ttp41.C