public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835
       [not found] <20020117200601.5421.ajl13@bellatlantic.net>
@ 2003-07-16 13:58 ` lerdsuwa at gcc dot gnu dot org
  2003-07-16 15:42 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-16 13:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5421


lerdsuwa at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|5369                        |
   Target Milestone|---                         |3.4


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-07-16 13:58 -------
This turned out to be unrelated to 5369.  Patch in progress.


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

* [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835
       [not found] <20020117200601.5421.ajl13@bellatlantic.net>
  2003-07-16 13:58 ` [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835 lerdsuwa at gcc dot gnu dot org
@ 2003-07-16 15:42 ` cvs-commit at gcc dot gnu dot org
  2003-07-16 15:49 ` lerdsuwa at gcc dot gnu dot org
  2003-10-17 13:28 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-16 15:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5421



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-07-16 15:42 -------
Subject: Bug 5421

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	lerdsuwa@gcc.gnu.org	2003-07-16 15:42:16

Modified files:
	gcc/cp         : decl.c friend.c ChangeLog 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: friend21.C 

Log message:
	PR c++/5421
	* decl.c (grokdeclarator): Handle TEMPLATE_ID_EXPR if friend
	is a member of other class.
	* friend.c (do_friend): Don't build TEMPLATE_DECL if friend
	is a specialization of function template.
	
	* g++.dg/template/friend21.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1090&r2=1.1091
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/friend.c.diff?cvsroot=gcc&r1=1.86&r2=1.87
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3527&r2=1.3528
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2884&r2=1.2885
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend21.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


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

* [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835
       [not found] <20020117200601.5421.ajl13@bellatlantic.net>
  2003-07-16 13:58 ` [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835 lerdsuwa at gcc dot gnu dot org
  2003-07-16 15:42 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-16 15:49 ` lerdsuwa at gcc dot gnu dot org
  2003-10-17 13:28 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-16 15:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5421


lerdsuwa at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-07-16 15:49 -------
Fixed in the main trunk (future GCC 3.4).


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

* [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835
       [not found] <20020117200601.5421.ajl13@bellatlantic.net>
                   ` (2 preceding siblings ...)
  2003-07-16 15:49 ` lerdsuwa at gcc dot gnu dot org
@ 2003-10-17 13:28 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-17 13:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5421


reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |3.3.2


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-17 12:38 -------
Also fixed in GCC 3.3.2 by the patch for PR 12369.


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

end of thread, other threads:[~2003-10-17 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020117200601.5421.ajl13@bellatlantic.net>
2003-07-16 13:58 ` [Bug c++/5421] friends+templates: ICE: expected identifier_node, have template_id_expr in grokfndecl, at cp/decl.c:8835 lerdsuwa at gcc dot gnu dot org
2003-07-16 15:42 ` cvs-commit at gcc dot gnu dot org
2003-07-16 15:49 ` lerdsuwa at gcc dot gnu dot org
2003-10-17 13:28 ` reichelt at gcc dot gnu dot org

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).