public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
@ 2003-05-24 22:30 ` pinskia@physics.uc.edu
2003-07-12 4:33 ` neroden at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-24 22:30 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=641
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-05-03 00:00:00 |2003-05-24 22:25:06
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-24 22:25 -------
It stills warns on the mainline (20030524).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
2003-05-24 22:30 ` [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type pinskia@physics.uc.edu
@ 2003-07-12 4:33 ` neroden at gcc dot gnu dot org
2003-08-16 12:13 ` lerdsuwa at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-07-12 4:33 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=641
neroden at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-05-24 22:25:06 |2003-07-12 04:33:00
date| |
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-12 04:33 -------
There is still a warning. This is the warning, since nobody mentioned it:
test.cxx: In instantiation of `item<const A>':
test.cxx:9: instantiated from here
test.cxx:2: warning: `iterator<const A>' is already a friend of `item<const A>'
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
2003-05-24 22:30 ` [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type pinskia@physics.uc.edu
2003-07-12 4:33 ` neroden at gcc dot gnu dot org
@ 2003-08-16 12:13 ` lerdsuwa at gcc dot gnu dot org
2003-08-22 13: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 @ 2003-08-16 12:13 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=641
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
` (2 preceding siblings ...)
2003-08-16 12:13 ` lerdsuwa at gcc dot gnu dot org
@ 2003-08-22 13:48 ` lerdsuwa at gcc dot gnu dot org
2003-08-22 13:57 ` lerdsuwa 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 @ 2003-08-22 13: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=641
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-08-22 13:48 -------
Patch submitted:
http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01344.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
` (3 preceding siblings ...)
2003-08-22 13:48 ` lerdsuwa at gcc dot gnu dot org
@ 2003-08-22 13:57 ` lerdsuwa at gcc dot gnu dot org
2003-08-23 12:53 ` cvs-commit at gcc dot gnu dot org
2003-08-23 14:16 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-08-22 13:57 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=641
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
` (4 preceding siblings ...)
2003-08-22 13:57 ` lerdsuwa at gcc dot gnu dot org
@ 2003-08-23 12:53 ` cvs-commit at gcc dot gnu dot org
2003-08-23 14:16 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-08-23 12:53 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=641
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-08-23 12:53 -------
Subject: Bug 641
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2003-08-23 12:53:48
Modified files:
gcc/cp : ChangeLog cp-tree.h decl.c friend.c parser.c
pt.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: friend22.C friend23.C
Log message:
PR c++/641, c++/11876
* friend.c (add_friend): Add complain parameter.
(make_friend_class): Likewise.
(do_friend): Adjust add_friend call.
* decl.c (grokdeclarator): Adjust make_friend_class call.
* parser.c (cp_parser_member_declaration): Likewise.
(cp_parser_template_declaration_after_exp): Likewise.
* pt.c (instantiate_class_template): Adjust make_friend_class
and add_friend call.
* cp-tree.h (make_friend_class): Adjust declaration.
(add_friend): Likewise.
* g++.dg/template/friend22.C: New test.
* g++.dg/template/friend23.C: Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3618&r2=1.3619
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.905&r2=1.906
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1115&r2=1.1116
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/friend.c.diff?cvsroot=gcc&r1=1.88&r2=1.89
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.103&r2=1.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.763&r2=1.764
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2993&r2=1.2994
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend22.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend23.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
[not found] <20001014224600.641.bh@techhouse.brown.edu>
` (5 preceding siblings ...)
2003-08-23 12:53 ` cvs-commit at gcc dot gnu dot org
@ 2003-08-23 14:16 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 14:16 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=641
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-23 14:16 -------
Fixed by the patch above.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-08-23 14:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20001014224600.641.bh@techhouse.brown.edu>
2003-05-24 22:30 ` [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type pinskia@physics.uc.edu
2003-07-12 4:33 ` neroden at gcc dot gnu dot org
2003-08-16 12:13 ` lerdsuwa at gcc dot gnu dot org
2003-08-22 13:48 ` lerdsuwa at gcc dot gnu dot org
2003-08-22 13:57 ` lerdsuwa at gcc dot gnu dot org
2003-08-23 12:53 ` cvs-commit at gcc dot gnu dot org
2003-08-23 14:16 ` pinskia 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).