https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82264

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.9.4, 5.4.0, 6.3.0, 7.1.0
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2017-09-20
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|internal compiler error:    |[6/7/8 Regression] ICE in
                   |Segmentation fault in       |vn_phi_lookup at
                   |fct,constprop               |gcc/tree-ssa-sccvn.c:3125
   Target Milestone|---                         |6.5
      Known to fail|                            |6.4.0, 7.2.0, 8.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed. Started with r247024.

Reduced test-case:

$ cat pr82264-2.i
char a;
int c;
unsigned b ();
unsigned
setjmp ()
{
}
static void
d ()
{
  if (b ())
    c = 3;
}
void
e ()
{
  d ();
  a && ({ setjmp (); });
}

$ gcc pr82264-2.i  -Os 
pr82264-2.i: In function ‘e’:
pr82264-2.i:15:1: internal compiler error: Segmentation fault
 e ()
 ^

Reply via email to