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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P3                          |P1
      Known to work|                            |8.3.0
      Known to fail|                            |9.0

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
There's a reduced test-case:

$ cat test.C
static const char *const rtx_format[1] = { "" };

int main(int argc, char **argv)
{
  if (rtx_format[0] == 0)
    __builtin_abort ();
  return 0;
}

$ g++ /tmp/test.C && ./a.out 
Aborted (core dumped)

Reply via email to