[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2014-01-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2014-01-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

--- Comment #8 from Jason Merrill jason at gcc dot gnu.org ---
Author: jason
Date: Tue Jan 28 21:04:44 2014
New Revision: 207209

URL: http://gcc.gnu.org/viewcvs?rev=207209root=gccview=rev
Log:
PR c++/58701
* semantics.c (build_anon_member_initialization): Stop walking
when we run out of COMPONENT_REFs.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-union5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2014-01-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jason Merrill jason at gcc dot gnu.org ---
Fixed.


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2014-01-27 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Jason Merrill jason at gcc dot gnu.org ---
Duplicate.

*** This bug has been marked as a duplicate of bug 58965 ***


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2014-01-27 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|RESOLVED|NEW
 Resolution|DUPLICATE   |---

--- Comment #7 from Marek Polacek mpolacek at gcc dot gnu.org ---
Actually, this one still ICEs.


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-12-17 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P1  |P2

--- Comment #5 from Marek Polacek mpolacek at gcc dot gnu.org ---
Downgrading to P2.


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-11-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

   Keywords|ice-on-valid-code   |
   Priority|P1  |P3

--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com ---
This appears to be invalid, thus unlikely to be P1.


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-11-05 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||ice-on-invalid-code,
   ||ice-on-valid-code
   Priority|P3  |P1


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-10-31 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com ---
However, I think this is invalid


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-10-14 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek mpolacek at gcc dot gnu.org ---
Isn't this by any chance invalid?  Anonymous aggregates cannot have members
with constructors.


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-10-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Volker Reichelt reichelt at gcc dot gnu.org changed:

   What|Removed |Added

  Known to work||4.7.0, 4.8.0
   Target Milestone|--- |4.9.0
  Known to fail||4.9.0


[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-10-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-10-13
 CC||jason at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com ---
This is the relevant change: r199455. CC-ing Jason.