public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late
       [not found] <bug-30301-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-26 21:34 ` reichelt at gcc dot gnu.org
  2014-02-26 21:45 ` jason at gcc dot gnu.org
  2014-02-26 21:45 ` jason at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu.org @ 2014-02-26 21:34 UTC (permalink / raw)
  To: gcc-bugs

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

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #2 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Jason, your commit

http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=208156

seems to have fixed this long-standing bug. Do you want to add these testcases
to the testsuite?


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

* [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late
       [not found] <bug-30301-4@http.gcc.gnu.org/bugzilla/>
  2014-02-26 21:34 ` [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late reichelt at gcc dot gnu.org
  2014-02-26 21:45 ` jason at gcc dot gnu.org
@ 2014-02-26 21:45 ` jason at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-26 21:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Done, thanks.


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

* [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late
       [not found] <bug-30301-4@http.gcc.gnu.org/bugzilla/>
  2014-02-26 21:34 ` [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late reichelt at gcc dot gnu.org
@ 2014-02-26 21:45 ` jason at gcc dot gnu.org
  2014-02-26 21:45 ` jason at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-26 21:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 26 21:44:48 2014
New Revision: 208185

URL: http://gcc.gnu.org/viewcvs?rev=208185&root=gcc&view=rev
Log:
    PR c++/30301
    * g++.dg/parse/unnamed2.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/unnamed2.C


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

* [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late
  2006-12-26 13:17 [Bug c++/30301] New: Invalid static member of anonymous class " reichelt at gcc dot gnu dot org
@ 2006-12-27  2:49 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-27  2:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-12-27 02:49 -------
Unions have the same issue:
template<int> struct A
{
  union { static int i; };
};


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-27 02:49:21
               date|                            |
            Summary|Invalid static member of    |Invalid static member of
                   |anonymous class diagnosed   |anonymous class or union
                   |too late                    |diagnosed too late


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


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

end of thread, other threads:[~2014-02-26 21:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-30301-4@http.gcc.gnu.org/bugzilla/>
2014-02-26 21:34 ` [Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late reichelt at gcc dot gnu.org
2014-02-26 21:45 ` jason at gcc dot gnu.org
2014-02-26 21:45 ` jason at gcc dot gnu.org
2006-12-26 13:17 [Bug c++/30301] New: Invalid static member of anonymous class " reichelt at gcc dot gnu dot org
2006-12-27  2:49 ` [Bug c++/30301] Invalid static member of anonymous class or union " 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).