public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
@ 2005-11-11 16:40 ` pinskia at gcc dot gnu dot org
  2007-11-08 20:31 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-11 16:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2005-11-11 16:40 -------
This was voted into WP at the October 2005 meeting.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
   Last reconfirmed|2005-09-30 05:18:43         |2005-11-11 16:40:28
               date|                            |


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
  2005-11-11 16:40 ` [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
@ 2007-11-08 20:31 ` pinskia at gcc dot gnu dot org
  2008-01-03 18:01 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-08 20:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2007-11-08 20:31 -------
I am going to work on this one.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
  2005-11-11 16:40 ` [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
  2007-11-08 20:31 ` pinskia at gcc dot gnu dot org
@ 2008-01-03 18:01 ` pinskia at gcc dot gnu dot org
  2008-08-13 10:32 ` manu at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-03 18:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2008-01-03 17:46 -------
I do have a correct patch which I will submit when stage1 comes around.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |33702
              nThis|                            |


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2008-01-03 18:01 ` pinskia at gcc dot gnu dot org
@ 2008-08-13 10:32 ` manu at gcc dot gnu dot org
  2008-08-13 21:01 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-13 10:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from manu at gcc dot gnu dot org  2008-08-13 10:30 -------
Andrew, update on this? Stage1 is closing soon...


-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2008-08-13 10:32 ` manu at gcc dot gnu dot org
@ 2008-08-13 21:01 ` pinskia at gcc dot gnu dot org
  2009-05-15 10:08 ` bonzini at gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-13 21:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2008-08-13 20:59 -------
(In reply to comment #10)
> Andrew, update on this? Stage1 is closing soon...

To some extent this is a bug fix so it can go while in stage3.  I will try to
get a patch going this weekend.  Since I have to dig through the PS3 GCC
sources, it is slightly harder but I should be able to find it easily.


-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2008-08-13 21:01 ` pinskia at gcc dot gnu dot org
@ 2009-05-15 10:08 ` bonzini at gnu dot org
  2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
  2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 15+ messages in thread
From: bonzini at gnu dot org @ 2009-05-15 10:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from bonzini at gnu dot org  2009-05-15 10:08 -------
Andrew, any news?


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2009-05-15 10:08 ` bonzini at gnu dot org
@ 2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
  2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-07-13 16:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from pinskia at gcc dot gnu dot org  2009-07-13 16:16 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
       [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
@ 2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-07-13 16:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pinskia at gcc dot gnu dot org  2009-07-13 16:16 -------
Subject: Bug 22154

Author: pinskia
Date: Mon Jul 13 16:15:55 2009
New Revision: 149590

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149590
Log:
2009-07-13  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/22154
        * parser.c (cp_parser_elaborated_type_specifier): Accept typename in
        front of qualified names.

2009-07-13  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/22154
        * g++.old-deja/g++.pt/typename10.C: Update for DR 382, typename in
        front of qualified names are allowed.
        * g++.dg/parse/crash10.C: Likewise.
        * g++.dg/parse/error15.C: Likewise.
        * g++.dg/parse/typename9.C: Likewise.
        * g++.dg/parse/error8.C: Likewise.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/crash10.C
    trunk/gcc/testsuite/g++.dg/parse/error15.C
    trunk/gcc/testsuite/g++.dg/parse/error8.C
    trunk/gcc/testsuite/g++.dg/parse/typename9.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename10.C


-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-06-23 18:13 ` gdr at integrable-solutions dot net
@ 2005-06-27 18:05 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-27 18:05 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-06-23 15:04 ` pinskia at gcc dot gnu dot org
@ 2005-06-23 18:13 ` gdr at integrable-solutions dot net
  2005-06-27 18:05 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 15+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-06-23 18:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-06-23 18:13 -------
Subject: Re:  [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 15:04 -------
| (In reply to comment #4)
| > If that is what the DR says, then the DR does not make any sense...
| Hey I am just reading what it says:
| <http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#382>.
| 
| DR 468 is about allowing ::template outside of templates.
| 
| I am not making this up.

I'm not saying you're making it up.  It just strikes me that the new
"subtlities" don't make much sense.

-- Gaby


-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-06-23 14:58 ` gdr at integrable-solutions dot net
@ 2005-06-23 15:04 ` pinskia at gcc dot gnu dot org
  2005-06-23 18:13 ` gdr at integrable-solutions dot net
  2005-06-27 18:05 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23 15:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 15:04 -------
(In reply to comment #4)
> If that is what the DR says, then the DR does not make any sense...
Hey I am just reading what it says:
<http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#382>.

DR 468 is about allowing ::template outside of templates.

I am not making this up.

-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
@ 2005-06-23 14:58 ` gdr at integrable-solutions dot net
  2005-06-23 15:04 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-06-23 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-06-23 14:58 -------
Subject: Re:  New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| The following should compile according to this DR report (but it is only in ready state so I am going to 
| confirm it and then suspend it):
| class a {};
| typename ::a f();
| 
| Also the following should not compile as a is not qualified then:
| class a {};
| typename a f();

If that is what the DR says, then the DR does not make any sense...

-- Gaby


-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
  2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
  2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
@ 2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
  2005-06-23 14:58 ` gdr at integrable-solutions dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  5:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 05:05 -------
Oh and I thought I saw a bug or two about this before.

-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
  2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
@ 2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
  2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  4:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 04:28 -------
Suspend this as it only in the ready state.

-- 


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


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

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
@ 2005-06-23  4:27 ` pinskia at gcc dot gnu dot org
  2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  4:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 04:27 -------
Confirmed, to ...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |2.95.3 3.3.5 4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-23 04:27:34
               date|                            |


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


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

end of thread, other threads:[~2009-07-13 16:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22154-6528@http.gcc.gnu.org/bugzilla/>
2005-11-11 16:40 ` [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
2007-11-08 20:31 ` pinskia at gcc dot gnu dot org
2008-01-03 18:01 ` pinskia at gcc dot gnu dot org
2008-08-13 10:32 ` manu at gcc dot gnu dot org
2008-08-13 21:01 ` pinskia at gcc dot gnu dot org
2009-05-15 10:08 ` bonzini at gnu dot org
2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
2009-07-13 16:16 ` pinskia at gcc dot gnu dot org
2005-06-23  4:27 [Bug c++/22154] New: " pinskia at gcc dot gnu dot org
2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
2005-06-23 14:58 ` gdr at integrable-solutions dot net
2005-06-23 15:04 ` pinskia at gcc dot gnu dot org
2005-06-23 18:13 ` gdr at integrable-solutions dot net
2005-06-27 18:05 ` 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).