This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r181523 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...


Author: dodji
Date: Sun Nov 20 07:10:24 2011
New Revision: 181523

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181523
Log:
PR c++/51194 - ICE with invalid alias template

gcc/cp/

	PR c++/51194
	* pt.c (lookup_template_class_1): Go out early if the type of the
	template is error_mark_node.

gcc/testsuite/

	PR c++/51194
	* g++.dg/cpp0x/alias-decl-15.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]