public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> @ 2004-12-02 12:39 ` lerdsuwa at gcc dot gnu dot org 2004-12-30 7:39 ` lerdsuwa at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: lerdsuwa at gcc dot gnu dot org @ 2004-12-02 12:39 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-02 12:39 ------- This should be allowed according to DR433. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Summary|Can't forward reference |[DR433] Can't forward |class in argument to |reference class in argument |templated method. |to templated method. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> 2004-12-02 12:39 ` [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method lerdsuwa at gcc dot gnu dot org @ 2004-12-30 7:39 ` lerdsuwa at gcc dot gnu dot org 2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: lerdsuwa at gcc dot gnu dot org @ 2004-12-30 7:39 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-30 07:38 ------- Patch for PR4403 also includes a fix to this bug (the while-loop hunk in pushtag). -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> 2004-12-02 12:39 ` [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method lerdsuwa at gcc dot gnu dot org 2004-12-30 7:39 ` lerdsuwa at gcc dot gnu dot org @ 2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org 2005-03-13 16:48 ` lerdsuwa at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 7+ 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=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> ` (2 preceding siblings ...) 2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org @ 2005-03-13 16:48 ` lerdsuwa at gcc dot gnu dot org 2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: lerdsuwa at gcc dot gnu dot org @ 2005-03-13 16:48 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 16:48 ------- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01294.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> ` (3 preceding siblings ...) 2005-03-13 16:48 ` lerdsuwa at gcc dot gnu dot org @ 2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org 6 siblings, 0 replies; 7+ 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 9783 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=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> ` (4 preceding siblings ...) 2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org @ 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org 6 siblings, 0 replies; 7+ messages in thread From: lerdsuwa at gcc dot gnu dot org @ 2005-03-14 14:55 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-14 14:54 ------- Fixed in the mainline. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method. [not found] <20030220232600.9783.mleone@pixar.com> ` (5 preceding siblings ...) 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org @ 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org 6 siblings, 0 replies; 7+ messages in thread From: lerdsuwa at gcc dot gnu dot org @ 2005-03-14 14:55 UTC (permalink / raw) To: gcc-bugs -- Bug 9783 depends on bug 4403, which changed state. Bug 4403 Summary: incorrect class becomes a friend in template http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-03-14 14:55 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20030220232600.9783.mleone@pixar.com> 2004-12-02 12:39 ` [Bug c++/9783] [DR433] Can't forward reference class in argument to templated method lerdsuwa at gcc dot gnu dot org 2004-12-30 7:39 ` lerdsuwa at gcc dot gnu dot org 2004-12-30 7:40 ` lerdsuwa at gcc dot gnu dot org 2005-03-13 16:48 ` lerdsuwa at gcc dot gnu dot org 2005-03-14 14:52 ` cvs-commit at gcc dot gnu dot org 2005-03-14 14:55 ` lerdsuwa at gcc dot gnu dot org 2005-03-14 14:55 ` 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).