r116492 - in /branches/gcc-4_1-branch/gcc: cp/C...

mmitchel@gcc.gnu.org mmitchel@gcc.gnu.org
Sun Aug 27 17:59:00 GMT 2006


Author: mmitchel
Date: Sun Aug 27 17:59:55 2006
New Revision: 116492

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116492
Log:
	PR c++/28058
	* pt.c (register_specialization): Return error_mark_node for
	specialization-after-instantiation.
	* decl2.c (mark_used): Mark the main function used when one of its
	clones is used.
	
	PR c++/28058
	* g++.dg/template/spec31.C: New test.
	* g++.old-deja/g++.pt/spec9.C: Adjust error markers.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/spec31.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl2.c
    branches/gcc-4_1-branch/gcc/cp/pt.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.old-deja/g++.pt/spec9.C



More information about the Gcc-cvs mailing list