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



Jakub Jelinek <jakub at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |jakub at gcc dot gnu.org,

                   |                            |jason at gcc dot gnu.org

   Target Milestone|---                         |4.8.0

            Summary|[4.8 Regression] ICE in     |[4.7/4.8 Regression] ICE in

                   |gimplify_init_ctor_preeval, |gimplify_init_ctor_preeval,

                   |at gimplify.c:3587          |at gimplify.c:3587



--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-21 
11:08:46 UTC ---

Reduced testcase:

struct P

{

  P () = default;

  explicit constexpr P (int x) : p (x) {}

  int p;

};



struct Q

{

  constexpr Q () : q (0x7f) {}

  int q;

};



struct R

{

  Q q;

  P p;

};



void

foo (R *x)

{

  *x = {};

}



Started ICEing with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177997

Reply via email to