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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|lto                         |
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.18 18:34:22
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[4.6 Regression] ICE: in    |[4.6 Regression] ICE: in
                   |consider_split, at          |consider_split, at
                   |ipa-split.c:313 with        |ipa-split.c:313 with asm
                   |-flto/-fwhopr and asm goto  |goto and
                   |                            |__builtin_unreachable ()
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-18 
18:34:22 UTC ---
void
foo ()
{
  asm goto (""::::l1);
  __builtin_unreachable ();
  l1:;
}

void
bar ()
{
  foo ();
  foo ();
}

ICEs at -O2 even without -flto.

Reply via email to