This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43460] New: internal compiler error: Segmentation fault on __builtin_unreachable() after asm goto()
- From: "mirq-gccboogs at rere dot qmqm dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2010 02:22:50 -0000
- Subject: [Bug target/43460] New: internal compiler error: Segmentation fault on __builtin_unreachable() after asm goto()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ LANG=C /usr/src/gcc-armtest/bin/arm-none-eabi-gcc -c a.c
a.c: In function 'main':
a.c:7:1: internal compiler error: Segmentation fault
[...]
$ cat a.c
main()
{
asm goto("" :::: test);
__builtin_unreachable();
test:
;
}
It's the same with valid jump inside asm goto().
$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/src/gcc-armtest/bin/arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/src/gcc-armtest/libexec/gcc/arm-none-eabi/4.5.0/lto-wrapper
Target: arm-none-eabi
Configured with: ../gcc-combined/configure --with-newlib
--prefix=/usr/src/gcc-armtest --target arm-none-eabi --enable-languages=c
--disable-libssp
Thread model: single
gcc version 4.5.0 20100319 (experimental) (GCC)
$ LANG=C svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 157582
Node Kind: directory
Schedule: normal
Last Changed Author: bernds
Last Changed Rev: 157582
Last Changed Date: 2010-03-19 19:41:22 +0100 (Fri, 19 Mar 2010)
(Sources cut down to gcc-core equivalent.)
--
Summary: internal compiler error: Segmentation fault on
__builtin_unreachable() after asm goto()
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mirq-gccboogs at rere dot qmqm dot pl
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-none-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43460