[Bug inline-asm/63282] New: [4.7 regression] ICE in redirect_jump_1
adam at consulting dot net.nz
gcc-bugzilla@gcc.gnu.org
Wed Sep 17 00:56:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list