public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
@ 2003-06-15 8:47 ` lerdsuwa@gcc.gnu.org
2003-06-15 8:48 ` lerdsuwa@gcc.gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa@gcc.gnu.org @ 2003-06-15 8:47 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=4403
lerdsuwa@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2003-04-30 00:00:00 |2003-06-15 08:47:45
date| |
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
2003-06-15 8:47 ` [Bug c++/4403] incorrect class becomes a friend in template lerdsuwa@gcc.gnu.org
@ 2003-06-15 8:48 ` lerdsuwa@gcc.gnu.org
2003-06-15 13:40 ` lerdsuwa@gcc.gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa@gcc.gnu.org @ 2003-06-15 8:48 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=4403
lerdsuwa@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned@gcc.gnu.org |lerdsuwa@gcc.gnu.org
Status|ASSIGNED |NEW
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
2003-06-15 8:47 ` [Bug c++/4403] incorrect class becomes a friend in template lerdsuwa@gcc.gnu.org
2003-06-15 8:48 ` lerdsuwa@gcc.gnu.org
@ 2003-06-15 13:40 ` lerdsuwa@gcc.gnu.org
2003-12-26 3:21 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa@gcc.gnu.org @ 2003-06-15 13:40 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=4403
lerdsuwa@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2003-06-15 08:47:45 |2003-06-15 13:40:16
date| |
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
` (2 preceding siblings ...)
2003-06-15 13:40 ` lerdsuwa@gcc.gnu.org
@ 2003-12-26 3:21 ` pinskia at gcc dot gnu dot org
2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26 3:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-26 02:56 -------
Even with trying to do:
friend struct ::F;
does not work.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-12-18 18:41:27 |2003-12-26 02:56:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
` (3 preceding siblings ...)
2003-12-26 3:21 ` pinskia at gcc dot gnu dot org
@ 2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org
2005-03-13 16:47 ` lerdsuwa at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2004-12-30 7:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
` (4 preceding siblings ...)
2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org
@ 2005-03-13 16:47 ` lerdsuwa at gcc dot gnu dot org
2005-03-14 14:40 ` lerdsuwa at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-03-13 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 16:47 -------
Patch submitted:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01294.html
This is simply the patch in the attachment to this PR retested with
explanation added.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
` (5 preceding siblings ...)
2005-03-13 16:47 ` lerdsuwa at gcc dot gnu dot org
@ 2005-03-14 14:40 ` lerdsuwa at gcc dot gnu dot org
2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org
2005-03-14 14:53 ` lerdsuwa at gcc dot gnu dot org
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-03-14 14:40 UTC (permalink / raw)
To: gcc-bugs
--
Bug 4403 depends on bug 1016, which changed state.
Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
` (6 preceding siblings ...)
2005-03-14 14:40 ` lerdsuwa at gcc dot gnu dot org
@ 2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org
2005-03-14 14:53 ` lerdsuwa at gcc dot gnu dot org
8 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-14 14:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-14 14:52 -------
Subject: Bug 4403
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2005-03-14 14:51:25
Modified files:
gcc/cp : ChangeLog name-lookup.c pt.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.pt: inherit2.C
Added files:
gcc/testsuite/g++.dg/template: friend34.C friend35.C
Log message:
PR c++/4403
PR c++/9783, DR433
* name-lookup.c (pushtag): Skip template parameter scope when
scope is ts_global. Don't push tag into template parameter
scope.
* pt.c (instantiate_class_template): Reorder friend class
template substitution to handle non-dependent friend class
that hasn't been previously declared.
* g++.dg/template/friend34.C: New test.
* g++.dg/template/friend35.C: Likewise.
* g++.old-deja/g++.pt/inherit2.C: Remove XFAIL's.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4662&r2=1.4663
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.112&r2=1.113
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.983&r2=1.984
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5161&r2=1.5162
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend34.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend35.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.pt/inherit2.C.diff?cvsroot=gcc&r1=1.7&r2=1.8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/4403] incorrect class becomes a friend in template
[not found] <20010926090600.4403.nathan@codesourcery.com>
` (7 preceding siblings ...)
2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-14 14:53 ` lerdsuwa at gcc dot gnu dot org
8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-03-14 14:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-14 14:53 -------
Fixed in the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-03-14 14:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20010926090600.4403.nathan@codesourcery.com>
2003-06-15 8:47 ` [Bug c++/4403] incorrect class becomes a friend in template lerdsuwa@gcc.gnu.org
2003-06-15 8:48 ` lerdsuwa@gcc.gnu.org
2003-06-15 13:40 ` lerdsuwa@gcc.gnu.org
2003-12-26 3:21 ` pinskia at gcc dot gnu dot org
2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org
2005-03-13 16:47 ` lerdsuwa at gcc dot gnu dot org
2005-03-14 14:40 ` lerdsuwa at gcc dot gnu dot org
2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org
2005-03-14 14:53 ` lerdsuwa 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).