public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/63282] New: [4.7 regression] ICE in redirect_jump_1
@ 2014-09-17  0:56 adam at consulting dot net.nz
  2014-09-17  8:08 ` [Bug inline-asm/63282] [4.8/4.9/5 Regression] " mpolacek at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: adam at consulting dot net.nz @ 2014-09-17  0:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63282
           Summary: [4.7 regression] ICE in redirect_jump_1
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: adam at consulting dot net.nz

Created attachment 33502
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33502&action=edit
ice.c:9:1: internal compiler error: in redirect_jump_1, at jump.c:1515

This may be related to Bug #49891 [marked as RESOLVED FIXED].

$ cat ice.c 
#include <stdlib.h>

void fn(void) {
  asm volatile goto ("nop" :: : : a, b);
 a:
  exit(0);
 b:
  return;
}

int main(void) {
  return 0;
}

$ gcc-snapshot.sh --version
gcc (Debian 20140903-1) 5.0.0 20140904 (experimental) [trunk revision 214924]
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc-snapshot.sh -O3 ice.c
ice.c: In function 'fn':
ice.c:9:1: internal compiler error: in redirect_jump_1, at jump.c:1515
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccEJa42m.out file, please attach this to
your bugreport.


gcc-4.7 -O3, gcc-4.8 -O3 and gcc-4.9 -O3 all ICE.

gcc-4.5 -O3 and gcc-4.6 -O3 do NOT ICE.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-09-30 10:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17  0:56 [Bug inline-asm/63282] New: [4.7 regression] ICE in redirect_jump_1 adam at consulting dot net.nz
2014-09-17  8:08 ` [Bug inline-asm/63282] [4.8/4.9/5 Regression] " mpolacek at gcc dot gnu.org
2014-09-17 17:24 ` jakub at gcc dot gnu.org
2014-09-26 18:57 ` jakub at gcc dot gnu.org
2014-09-26 19:03 ` jakub at gcc dot gnu.org
2014-09-30 10:31 ` jakub at gcc dot gnu.org
2014-09-30 10:34 ` jakub at gcc dot gnu.org
2014-09-30 10:39 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).