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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
           Priority|P3                          |P2
                 CC|                            |jakub at gcc dot gnu.org
            Summary|internal compiler error: in |[10/11/12/13 Regression]
                   |purge_dead_edges with       |internal compiler error: in
                   |inline-asm goto             |purge_dead_edges with
                   |                            |inline-asm goto
   Target Milestone|---                         |10.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase that ICEs on x86_64-linux too (-O2):
int *foo (void);

void
bar (void)
{
  asm goto ("" : : : : lab);
  __builtin_unreachable ();
lab:
  while (1)
    {
      int o;
      asm ("" : "=r" (o) : "g" (1));
      *foo () = o;
    }
}
Started with r0-128630-ga3afdbb80906a5553a64f9ba7686a57d2f43f536

Reply via email to