public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11764] New: g++ does not treat injected class name correctly.
@ 2003-08-01 17:00 gdr at gcc dot gnu dot org
2003-08-01 18:39 ` [Bug c++/11764] " pinskia at physics dot uc dot edu
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-08-01 17:00 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=11764
Summary: g++ does not treat injected class name correctly.
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gdr at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: all
GCC host triplet: all
GCC target triplet: all
cc1plus does not implement the class name injection correctly.
In particular the snipped below should be rejected on the basis that
A::A does not name a type (it designates a constructor)
struct A { };
int main()
{
A::A a; // should be an ERROR
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
@ 2003-08-01 18:39 ` pinskia at physics dot uc dot edu
2003-08-01 18:43 ` gdr at integrable-solutions dot net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-01 18:39 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=11764
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|all |
GCC host triplet|all |
GCC target triplet|all |*-*-*
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2003-08-01 18:39:00
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-01 18:39 -------
I can confirm this in the mainline (20030730).
ICC 6.0 rejects this, so does EDG 2.40.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
2003-08-01 18:39 ` [Bug c++/11764] " pinskia at physics dot uc dot edu
@ 2003-08-01 18:43 ` gdr at integrable-solutions dot net
2003-08-13 3:15 ` [Bug c++/11764] [DR147] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-08-01 18:43 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=11764
------- Additional Comments From gdr at integrable-solutions dot net 2003-08-01 18:43 -------
Subject: Re: g++ does not treat injected class name correctly.
"pinskia at physics dot uc dot edu" <gcc-bugzilla@gcc.gnu.org> writes:
| I can confirm this in the mainline (20030730).
| ICC 6.0 rejects this, so does EDG 2.40.
It should be noted that the last two compilers behave as required by
the standard.
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_defects.html#147
-- Gaby
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
2003-08-01 18:39 ` [Bug c++/11764] " pinskia at physics dot uc dot edu
2003-08-01 18:43 ` gdr at integrable-solutions dot net
@ 2003-08-13 3:15 ` pinskia at gcc dot gnu dot org
2003-08-23 1:06 ` dhazeghi at yahoo dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-13 3:15 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=11764
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Last reconfirmed|2003-08-01 18:39:00 |2003-08-13 03:15:32
date| |
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-08-13 3:15 ` [Bug c++/11764] [DR147] " pinskia at gcc dot gnu dot org
@ 2003-08-23 1:06 ` dhazeghi at yahoo dot com
2003-08-29 8:34 ` gdr at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23 1:06 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=11764
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
` (3 preceding siblings ...)
2003-08-23 1:06 ` dhazeghi at yahoo dot com
@ 2003-08-29 8:34 ` gdr at gcc dot gnu dot org
2004-08-04 23:32 ` giovannibajo at libero dot it
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-08-29 8:34 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=11764
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2003-08-24 17:25:49 |2003-08-29 08:34:31
date| |
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
` (4 preceding siblings ...)
2003-08-29 8:34 ` gdr at gcc dot gnu dot org
@ 2004-08-04 23:32 ` giovannibajo at libero dot it
2004-08-27 1:52 ` pinskia at gcc dot gnu dot org
2004-08-27 1:54 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-08-04 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-08-04 23:32 -------
A testcase is already in the tc1 testsuite (g++.dg/tc1/dr147.C), xfailed. I'm
adding a cross-reference to this PR as we speak.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-08-04 23:32 ` giovannibajo at libero dot it
@ 2004-08-27 1:52 ` pinskia at gcc dot gnu dot org
2004-08-27 1:54 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-27 1:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-27 01:52 -------
*** Bug 15865 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-08-27 1:52 ` pinskia at gcc dot gnu dot org
@ 2004-08-27 1:54 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-27 1:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-27 01:54 -------
*** Bug 11487 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hans dot ekkehard dot
| |plesser at nlh dot no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-08-27 1:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-01 17:00 [Bug c++/11764] New: g++ does not treat injected class name correctly gdr at gcc dot gnu dot org
2003-08-01 18:39 ` [Bug c++/11764] " pinskia at physics dot uc dot edu
2003-08-01 18:43 ` gdr at integrable-solutions dot net
2003-08-13 3:15 ` [Bug c++/11764] [DR147] " pinskia at gcc dot gnu dot org
2003-08-23 1:06 ` dhazeghi at yahoo dot com
2003-08-29 8:34 ` gdr at gcc dot gnu dot org
2004-08-04 23:32 ` giovannibajo at libero dot it
2004-08-27 1:52 ` pinskia at gcc dot gnu dot org
2004-08-27 1:54 ` 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).