public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <20021113205602.8570.llib@computer.org> @ 2003-09-08 7:36 ` ebotcazou at gcc dot gnu dot org 2004-07-26 4:10 ` pinskia at gcc dot gnu dot org 2004-07-28 14:45 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 7+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2003-09-08 7:36 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=8570 ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC build triplet|sparc-sun-solaris2.9 | GCC host triplet|sparc-sun-solaris2.9 | GCC target triplet|sparc-sun-solaris2.9 | ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-09-08 07:36 ------- Generic C++ front-end problem. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <20021113205602.8570.llib@computer.org> 2003-09-08 7:36 ` [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration ebotcazou at gcc dot gnu dot org @ 2004-07-26 4:10 ` pinskia at gcc dot gnu dot org 2004-07-28 14:45 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-07-26 4:10 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-26 04:10 ------- *** Bug 12390 has been marked as a duplicate of this bug. *** -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <20021113205602.8570.llib@computer.org> 2003-09-08 7:36 ` [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration ebotcazou at gcc dot gnu dot org 2004-07-26 4:10 ` pinskia at gcc dot gnu dot org @ 2004-07-28 14:45 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-07-28 14:45 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-28 14:45 ------- *** Bug 13390 has been marked as a duplicate of this bug. *** -- What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <bug-8570-589@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <bug-8570-589@http.gcc.gnu.org/bugzilla/> @ 2007-11-10 21:28 ` manu at gcc dot gnu dot org 2007-11-12 0:29 ` manu at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2007-11-10 21:28 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from manu at gcc dot gnu dot org 2007-11-10 21:28 ------- Still valid in GCC 4.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <bug-8570-589@http.gcc.gnu.org/bugzilla/> 2007-11-10 21:28 ` manu at gcc dot gnu dot org @ 2007-11-12 0:29 ` manu at gcc dot gnu dot org 2007-11-12 0:29 ` manu at gcc dot gnu dot org 2007-11-12 5:56 ` patchapp at dberlin dot org 3 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2007-11-12 0:29 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from manu at gcc dot gnu dot org 2007-11-12 00:28 ------- Subject: Bug 8570 Author: manu Date: Mon Nov 12 00:28:41 2007 New Revision: 130092 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130092 Log: 2007-11-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/8570 cp/ * pt.c (redeclare_class_template): Update error message. Use a note to show the previous declaration. (tsubst_friend_class): Use the location of the friend template as the input location before calling redeclare_class_template. testsuite/ * g++.old-deja/g++.ns/template13.C: Update expected output. * g++.old-deja/g++.pt/friend23.C: Likewise. * g++.dg/warn/pr8570.C: New. Added: trunk/gcc/testsuite/g++.dg/warn/pr8570.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.old-deja/g++.ns/template13.C trunk/gcc/testsuite/g++.old-deja/g++.pt/friend23.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <bug-8570-589@http.gcc.gnu.org/bugzilla/> 2007-11-10 21:28 ` manu at gcc dot gnu dot org 2007-11-12 0:29 ` manu at gcc dot gnu dot org @ 2007-11-12 0:29 ` manu at gcc dot gnu dot org 2007-11-12 5:56 ` patchapp at dberlin dot org 3 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2007-11-12 0:29 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from manu at gcc dot gnu dot org 2007-11-12 00:29 ------- Fixed in GCC 4.3 -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration [not found] <bug-8570-589@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2007-11-12 0:29 ` manu at gcc dot gnu dot org @ 2007-11-12 5:56 ` patchapp at dberlin dot org 3 siblings, 0 replies; 7+ messages in thread From: patchapp at dberlin dot org @ 2007-11-12 5:56 UTC (permalink / raw) To: gcc-bugs ------- Comment #8 from patchapp at dberlin dot org 2007-11-12 05:56 ------- Subject: Bug number PR c++/8570 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00581.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-11-12 5:56 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20021113205602.8570.llib@computer.org> 2003-09-08 7:36 ` [Bug c++/8570] line number in error message is badly placed with illegal template friend declaration ebotcazou at gcc dot gnu dot org 2004-07-26 4:10 ` pinskia at gcc dot gnu dot org 2004-07-28 14:45 ` pinskia at gcc dot gnu dot org [not found] <bug-8570-589@http.gcc.gnu.org/bugzilla/> 2007-11-10 21:28 ` manu at gcc dot gnu dot org 2007-11-12 0:29 ` manu at gcc dot gnu dot org 2007-11-12 0:29 ` manu at gcc dot gnu dot org 2007-11-12 5:56 ` patchapp at dberlin 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).