public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5333
@ 2003-02-24  7:46 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2003-02-24  7:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/5333; it has been noted by GNATS.

From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c++/5333
Date: 24 Feb 2003 07:43:23 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	mmitchel@gcc.gnu.org	2003-02-24 07:43:23
 
 Modified files:
 	gcc/cp         : ChangeLog cp-tree.h parser.c pt.c 
 	gcc/testsuite  : ChangeLog 
 	gcc/testsuite/g++.dg/parse: fused-params1.C 
 Added files:
 	gcc/testsuite/g++.dg/template: nested3.C 
 
 Log message:
 	PR c++/5333
 	* cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE): New macro.
 	* parser.c (cp_parser_diagnose_invalid_type_name): Use it.
 	* pt.c (instantiate_class_template): Don't try to instantiate
 	dependent types.
 	(resolve_typename_type): Use CLASSTYPE_PRIMARY_TEMPLATE.
 	
 	PR c++/5333
 	* g++.dg/parse/fused-params1.C: Adjust error messages.
 	* g++.dg/template/nested3.C: New test.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3211&r2=1.3212
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.813&r2=1.814
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.44&r2=1.45
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.662&r2=1.663
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2439&r2=1.2440
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/fused-params1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/nested3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/5333
@ 2003-02-24  7:46 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2003-02-24  7:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/5333; it has been noted by GNATS.

From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c++/5333
Date: 24 Feb 2003 07:43:23 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	mmitchel@gcc.gnu.org	2003-02-24 07:43:23
 
 Modified files:
 	gcc/cp         : ChangeLog cp-tree.h parser.c pt.c 
 	gcc/testsuite  : ChangeLog 
 	gcc/testsuite/g++.dg/parse: fused-params1.C 
 Added files:
 	gcc/testsuite/g++.dg/template: nested3.C 
 
 Log message:
 	PR c++/5333
 	* cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE): New macro.
 	* parser.c (cp_parser_diagnose_invalid_type_name): Use it.
 	* pt.c (instantiate_class_template): Don't try to instantiate
 	dependent types.
 	(resolve_typename_type): Use CLASSTYPE_PRIMARY_TEMPLATE.
 	
 	PR c++/5333
 	* g++.dg/parse/fused-params1.C: Adjust error messages.
 	* g++.dg/template/nested3.C: New test.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3211&r2=1.3212
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.813&r2=1.814
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.44&r2=1.45
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.662&r2=1.663
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2439&r2=1.2440
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/fused-params1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/nested3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5333
@ 2003-01-22 20:16 Wolfgang Bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Bangerth @ 2003-01-22 20:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/5333; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/5333
Date: Wed, 22 Jan 2003 14:12:23 -0600 (CST)

 Still exists as of today in 3.2, 3.3, and 3.4 branches:
 
 g/a> /home/bangerth/bin/gcc-3.4-pre/bin/c++ test2.cpp
 test2.cpp: In instantiation of `A<U, B<U>::SubB1>':
 test2.cpp:24:   instantiated from here
 test2.cpp:11: error: `A<T1, T2>::_t1' has incomplete type
 test2.cpp:11: error: invalid use of template type parameter
 test2.cpp:6: internal compiler error: Speicherzugriffsfehler
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth             email:            bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth/
 
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-24  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-24  7:46 c++/5333 mmitchel
  -- strict thread matches above, loose matches on Subject: below --
2003-02-24  7:46 c++/5333 mmitchel
2003-01-22 20:16 c++/5333 Wolfgang Bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).