public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42603] [C++0x] decltype not supported for parent class specifier
       [not found] <bug-42603-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-20 23:07 ` dev.lists at jessamine dot co.uk
  2011-05-25 10:13 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: dev.lists at jessamine dot co.uk @ 2011-01-20 23:07 UTC (permalink / raw)
  To: gcc-bugs

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

Adam Butcher <dev.lists at jessamine dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dev.lists at jessamine dot
                   |                            |co.uk

--- Comment #3 from Adam Butcher <dev.lists at jessamine dot co.uk> 2011-01-20 22:07:31 UTC ---
Fix proposed for this in
http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01387.html


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

* [Bug c++/42603] [C++0x] decltype not supported for parent class specifier
       [not found] <bug-42603-4@http.gcc.gnu.org/bugzilla/>
  2011-01-20 23:07 ` [Bug c++/42603] [C++0x] decltype not supported for parent class specifier dev.lists at jessamine dot co.uk
@ 2011-05-25 10:13 ` redi at gcc dot gnu.org
  2011-07-20 14:25 ` jason at gcc dot gnu.org
  2011-07-20 16:16 ` jason at gcc dot gnu.org
  3 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-05-25 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-25 09:38:50 UTC ---
*** Bug 49155 has been marked as a duplicate of this bug. ***


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

* [Bug c++/42603] [C++0x] decltype not supported for parent class specifier
       [not found] <bug-42603-4@http.gcc.gnu.org/bugzilla/>
  2011-01-20 23:07 ` [Bug c++/42603] [C++0x] decltype not supported for parent class specifier dev.lists at jessamine dot co.uk
  2011-05-25 10:13 ` redi at gcc dot gnu.org
@ 2011-07-20 14:25 ` jason at gcc dot gnu.org
  2011-07-20 16:16 ` jason at gcc dot gnu.org
  3 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2011-07-20 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-20 14:21:09 UTC ---
Author: jason
Date: Wed Jul 20 14:21:05 2011
New Revision: 176513

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176513
Log:
    PR c++/6709 (DR 743)
    PR c++/42603 (DR 950)
gcc/cp/
    * parser.c (token_is_decltype, cp_lexer_next_token_is_decltype): New.
    (cp_parser_nested_name_specifier_opt): Allow decltype.
    (cp_parser_qualifying_entity): Likewise.
    (cp_parser_decltype): Replace source tokens with CPP_DECLTYPE.
    (cp_parser_simple_type_specifier): Handle decltype as scope.
    (cp_parser_base_specifier): Allow decltype.
    (cp_parser_base_clause): Don't crash on null base.
    * parser.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move to c-common.h.
    (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
gcc/c-family/
    * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
    (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
    (CPP_DECLTYPE): New.
    * c-common.c (c_parse_error): Handle CPP_DECLTYPE.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype21.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/c-family/c-common.h
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/parser.h
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/42603] [C++0x] decltype not supported for parent class specifier
       [not found] <bug-42603-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-07-20 14:25 ` jason at gcc dot gnu.org
@ 2011-07-20 16:16 ` jason at gcc dot gnu.org
  3 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2011-07-20 16:16 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.7.0
           Severity|normal                      |enhancement

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-20 16:15:05 UTC ---
Implemented for 4.7.


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

* [Bug c++/42603] [C++0x] decltype not supported for parent class specifier
  2010-01-04  5:24 [Bug c++/42603] New: " gccbugs at blaggart dot com
  2010-01-04  9:48 ` [Bug c++/42603] [C++0x] " paolo dot carlini at oracle dot com
@ 2010-01-05 13:29 ` jason at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-01-05 13:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jason at gcc dot gnu dot org  2010-01-05 13:29 -------
This is

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#950

we decided in Santa Cruz that this usage should be allowed.


-- 


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


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

* [Bug c++/42603] [C++0x] decltype not supported for parent class specifier
  2010-01-04  5:24 [Bug c++/42603] New: " gccbugs at blaggart dot com
@ 2010-01-04  9:48 ` paolo dot carlini at oracle dot com
  2010-01-05 13:29 ` jason at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-01-04  9:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from paolo dot carlini at oracle dot com  2010-01-04 09:47 -------
Let's CC Jason...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-04 09:47:56
               date|                            |
            Summary|decltype not supported for  |[C++0x] decltype not
                   |parent class specifier      |supported for parent class
                   |                            |specifier


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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42603-4@http.gcc.gnu.org/bugzilla/>
2011-01-20 23:07 ` [Bug c++/42603] [C++0x] decltype not supported for parent class specifier dev.lists at jessamine dot co.uk
2011-05-25 10:13 ` redi at gcc dot gnu.org
2011-07-20 14:25 ` jason at gcc dot gnu.org
2011-07-20 16:16 ` jason at gcc dot gnu.org
2010-01-04  5:24 [Bug c++/42603] New: " gccbugs at blaggart dot com
2010-01-04  9:48 ` [Bug c++/42603] [C++0x] " paolo dot carlini at oracle dot com
2010-01-05 13:29 ` jason 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).