public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
@ 2007-05-08 19:45 ` fang at csl dot cornell dot edu
  2007-10-04 18:47 ` bangerth at dealii dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: fang at csl dot cornell dot edu @ 2007-05-08 19:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from fang at csl dot cornell dot edu  2007-05-08 20:44 -------
Still accepts-invalid as of 4.2-20070430 (RC2).


-- 

fang at csl dot cornell dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fang at csl dot cornell dot
                   |                            |edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
  2007-05-08 19:45 ` [Bug c++/11764] [DR147] g++ does not treat injected class name correctly fang at csl dot cornell dot edu
@ 2007-10-04 18:47 ` bangerth at dealii dot org
  2008-05-23  5:45 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: bangerth at dealii dot org @ 2007-10-04 18:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from bangerth at dealii dot org  2007-10-04 18:46 -------
*** Bug 33659 has been marked as a duplicate of this bug. ***


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
  2007-05-08 19:45 ` [Bug c++/11764] [DR147] g++ does not treat injected class name correctly fang at csl dot cornell dot edu
  2007-10-04 18:47 ` bangerth at dealii dot org
@ 2008-05-23  5:45 ` pinskia at gcc dot gnu dot org
  2008-06-11 23:45 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-23  5:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2008-05-23 05:44 -------
*** Bug 36306 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dushistov at mail dot ru


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2008-05-23  5:45 ` pinskia at gcc dot gnu dot org
@ 2008-06-11 23:45 ` pinskia at gcc dot gnu dot org
  2009-04-27  4:11 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-11 23:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2008-06-11 23:44 -------
*** Bug 36501 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gp dot bolton at computer
                   |                            |dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2008-06-11 23:45 ` pinskia at gcc dot gnu dot org
@ 2009-04-27  4:11 ` pinskia at gcc dot gnu dot org
  2009-05-29 15:15 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-27  4:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2009-04-27 04:10 -------
*** Bug 39924 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc dot glisse at
                   |                            |normalesup dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2009-04-27  4:11 ` pinskia at gcc dot gnu dot org
@ 2009-05-29 15:15 ` pinskia at gcc dot gnu dot org
  2009-05-30  8:46 ` Woebbeking at web dot de
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-29 15:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2009-05-29 15:15 -------
*** Bug 40294 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Woebbeking at web dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2009-05-29 15:15 ` pinskia at gcc dot gnu dot org
@ 2009-05-30  8:46 ` Woebbeking at web dot de
  2009-05-30 16:03 ` ian at airs dot com
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: Woebbeking at web dot de @ 2009-05-30  8:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from Woebbeking at web dot de  2009-05-30 08:46 -------
If you're sure that it's a bug why isn't it fixed yet? Is it that hard that you
need more than six years?

Sure it's no show stopper but it's annoying. I'm using -pedantic and -ansi to
ensure platform independent code and then this...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2009-05-30  8:46 ` Woebbeking at web dot de
@ 2009-05-30 16:03 ` ian at airs dot com
  2009-06-01 10:28 ` Woebbeking at web dot de
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: ian at airs dot com @ 2009-05-30 16:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from ian at airs dot com  2009-05-30 16:03 -------
gcc is a free software project driven largely by volunteers.  Interest in
fixing accepts-invalid bugs is generally low; people are generally more
interested in rejects-valid bugs, or in better optimizations, or in avoiding
regressions.  There are, unfortunately, many open bugs, many of which have
higher priority than this one.  If this bug is important to you, you do have
the option of fixing it yourself.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2009-05-30 16:03 ` ian at airs dot com
@ 2009-06-01 10:28 ` Woebbeking at web dot de
  2009-11-16  6:22 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: Woebbeking at web dot de @ 2009-06-01 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from Woebbeking at web dot de  2009-06-01 10:28 -------
Ian, I know open source and I also know that some parts are more interesting
than others :-) 


Most the time I'm a happy GCC user (sure, it could be faster but that's what
compile farms are for). But this bug is assigned for nearly 6 years now that
makes me a bit sad.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2009-06-01 10:28 ` Woebbeking at web dot de
@ 2009-11-16  6:22 ` pinskia at gcc dot gnu dot org
  2009-11-16 14:06 ` paolo dot carlini at oracle dot com
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-11-16  6:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from pinskia at gcc dot gnu dot org  2009-11-16 06:21 -------
*** Bug 42064 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pi3orama at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2009-11-16  6:22 ` pinskia at gcc dot gnu dot org
@ 2009-11-16 14:06 ` paolo dot carlini at oracle dot com
  2009-11-23 22:57 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-16 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from paolo dot carlini at oracle dot com  2009-11-16 14:06 -------
Gaby, I'm sorry, are you actively working on this issue?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2009-11-16 14:06 ` paolo dot carlini at oracle dot com
@ 2009-11-23 22:57 ` jason at gcc dot gnu dot org
  2009-11-24 20:56 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-23 22:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from jason at gcc dot gnu dot org  2009-11-23 22:57 -------
Mine now.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gdr at gcc dot gnu dot org  |jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2009-11-23 22:57 ` jason at gcc dot gnu dot org
@ 2009-11-24 20:56 ` jason at gcc dot gnu dot org
  2009-11-24 21:05 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 28+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-24 20:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jason at gcc dot gnu dot org  2009-11-24 20:55 -------
Subject: Bug 11764

Author: jason
Date: Tue Nov 24 20:55:24 2009
New Revision: 154519

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154519
Log:
        PR c++/42137
        * parser.c (cp_parser_mem_initializer_id): Pass typename_type to
        cp_parser_class_name.
        (cp_parser_unqualified_id): Same, rather than class_type.

        PR c++/11764
        * parser.c (cp_parser_expression_statement): Give helpful error
        for constructor name used as type.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/lookup/name-clash4.C
    trunk/gcc/testsuite/g++.dg/tc1/dr147.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/ctor2.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2009-11-24 20:56 ` jason at gcc dot gnu dot org
@ 2009-11-24 21:05 ` jason at gcc dot gnu dot org
  2009-11-24 21:05 ` jason at gcc dot gnu dot org
  2010-04-09  2:57 ` pinskia at gcc dot gnu dot org
  15 siblings, 0 replies; 28+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-24 21:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2009-11-24 21:05 ` jason at gcc dot gnu dot org
@ 2009-11-24 21:05 ` jason at gcc dot gnu dot org
  2010-04-09  2:57 ` pinskia at gcc dot gnu dot org
  15 siblings, 0 replies; 28+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-24 21:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from jason at gcc dot gnu dot org  2009-11-24 21:05 -------
Fixed.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2009-11-24 21:05 ` jason at gcc dot gnu dot org
@ 2010-04-09  2:57 ` pinskia at gcc dot gnu dot org
  15 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-09  2:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from pinskia at gcc dot gnu dot org  2010-04-09 02:56 -------
*** Bug 43649 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |in10semotions at googlemail
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2013-03-15 13:46 ` Woebbeking at web dot de
@ 2013-03-15 13:50 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 28+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-15 13:50 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

--- Comment #27 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-15 13:49:58 UTC ---
(In reply to comment #26)
> > Which?  Recent versions of EDG and clang both accept the testcase in comment
> > 22.
> 
> MSVC 2010

"Other compilers have bugs" doesn't seem like a good reason to change GCC.

> In another duplicate ICC 6 was mentioned.

That's ancient, isn't it?


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-03-15 13:37 ` jason at gcc dot gnu.org
@ 2013-03-15 13:46 ` Woebbeking at web dot de
  2013-03-15 13:50 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 28+ messages in thread
From: Woebbeking at web dot de @ 2013-03-15 13:46 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

--- Comment #26 from André Wöbbeking <Woebbeking at web dot de> 2013-03-15 13:45:50 UTC ---
(In reply to comment #25)
> (In reply to comment #24)
> > 3) some other compiler don't compile this
> 
> Which?  Recent versions of EDG and clang both accept the testcase in comment
> 22.

MSVC 2010

In another duplicate ICC 6 was mentioned.

> > couldn't you at least give us a warning (e. g. with -pedantic)?
> 
> -pedantic means "strictly enforce the standard"; since the standard says that
> the testcase in comment 22 is well-formed, -pedantic should not complain about
> it.  Someone could add another warning flag to warn about this,

Yep, that is probably the better solution.


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-03-15  9:25 ` Woebbeking at web dot de
@ 2013-03-15 13:37 ` jason at gcc dot gnu.org
  2013-03-15 13:46 ` Woebbeking at web dot de
  2013-03-15 13:50 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 28+ messages in thread
From: jason at gcc dot gnu.org @ 2013-03-15 13:37 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

--- Comment #25 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-15 13:36:11 UTC ---
(In reply to comment #24)
> OK, I read some explanations in the duplicates but still don't know why this
> should be valid code.

That is a question for the standards committee.

> IMO it makes no sense to write A:A:A:B and given the facts that
> 1) people don't write this intentionally
> 2) people expect this to be invalid (see number of duplicates)

And the cases that are invalid were fixed by my patch.

> 3) some other compiler don't compile this

Which?  Recent versions of EDG and clang both accept the testcase in comment
22.

> couldn't you at least give us a warning (e. g. with -pedantic)?

-pedantic means "strictly enforce the standard"; since the standard says that
the testcase in comment 22 is well-formed, -pedantic should not complain about
it.  Someone could add another warning flag to warn about this, but it isn't a
priority for me.


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
  2013-02-20 16:33 ` Woebbeking at web dot de
  2013-02-20 17:03 ` redi at gcc dot gnu.org
@ 2013-03-15  9:25 ` Woebbeking at web dot de
  2013-03-15 13:37 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 28+ messages in thread
From: Woebbeking at web dot de @ 2013-03-15  9:25 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

--- Comment #24 from André Wöbbeking <Woebbeking at web dot de> 2013-03-15 09:25:02 UTC ---
OK, I read some explanations in the duplicates but still don't know why this
should be valid code. IMO it makes no sense to write A:A:A:B and given the
facts that
1) people don't write this intentionally
2) people expect this to be invalid (see number of duplicates)
3) some other compiler don't compile this
couldn't you at least give us a warning (e. g. with -pedantic)?


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
  2013-02-20 16:33 ` Woebbeking at web dot de
@ 2013-02-20 17:03 ` redi at gcc dot gnu.org
  2013-03-15  9:25 ` Woebbeking at web dot de
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 28+ messages in thread
From: redi at gcc dot gnu.org @ 2013-02-20 17:03 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-02-20 17:03:00 UTC ---
No, that's valid. In the nested-name-specifier the second A only considers
namespaces, types and templates whose specializations are types
([basic.lookup.qual]) so it doesn't name the constructor.


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
       [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
@ 2013-02-20 16:33 ` Woebbeking at web dot de
  2013-02-20 17:03 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 28+ messages in thread
From: Woebbeking at web dot de @ 2013-02-20 16:33 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

--- Comment #22 from André Wöbbeking <Woebbeking at web dot de> 2013-02-20 16:31:47 UTC ---
Hi,

shouldn't

struct A
{
    struct B {};
};

int main()
{
    A::A::B b;
}

fail to compile? It compiles with 4.6 and 4.7.


Cheers,
André


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
  2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
                   ` (4 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
  5 siblings, 0 replies; 28+ 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] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
  2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
                   ` (3 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
  5 siblings, 0 replies; 28+ 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] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
  2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
                   ` (2 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
  5 siblings, 0 replies; 28+ 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] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
  2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 28+ 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] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
  2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
  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)
  5 siblings, 0 replies; 28+ 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] 28+ messages in thread

* [Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
  2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
@ 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)
  5 siblings, 0 replies; 28+ 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] 28+ messages in thread

end of thread, other threads:[~2013-03-15 13:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
2007-05-08 19:45 ` [Bug c++/11764] [DR147] g++ does not treat injected class name correctly fang at csl dot cornell dot edu
2007-10-04 18:47 ` bangerth at dealii dot org
2008-05-23  5:45 ` pinskia at gcc dot gnu dot org
2008-06-11 23:45 ` pinskia at gcc dot gnu dot org
2009-04-27  4:11 ` pinskia at gcc dot gnu dot org
2009-05-29 15:15 ` pinskia at gcc dot gnu dot org
2009-05-30  8:46 ` Woebbeking at web dot de
2009-05-30 16:03 ` ian at airs dot com
2009-06-01 10:28 ` Woebbeking at web dot de
2009-11-16  6:22 ` pinskia at gcc dot gnu dot org
2009-11-16 14:06 ` paolo dot carlini at oracle dot com
2009-11-23 22:57 ` jason at gcc dot gnu dot org
2009-11-24 20:56 ` jason at gcc dot gnu dot org
2009-11-24 21:05 ` jason at gcc dot gnu dot org
2009-11-24 21:05 ` jason at gcc dot gnu dot org
2010-04-09  2:57 ` pinskia at gcc dot gnu dot org
     [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
2013-02-20 16:33 ` Woebbeking at web dot de
2013-02-20 17:03 ` redi at gcc dot gnu.org
2013-03-15  9:25 ` Woebbeking at web dot de
2013-03-15 13:37 ` jason at gcc dot gnu.org
2013-03-15 13:46 ` Woebbeking at web dot de
2013-03-15 13:50 ` redi at gcc dot gnu.org
2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
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).