[Bug c/58269] New: [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin10 after revision 201915
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Thu Aug 29 08:37:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58269
Bug ID: 58269
Summary: [4.9 Regression] ICE when building libobjc on
x86_64-apple-darwin10 after revision 201915
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
CC: iains at gcc dot gnu.org, kyukhin at gcc dot gnu.org
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
Created attachment 30715
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30715&action=edit
Preprocessed file
On x86_64-apple-darwin10 building libobjc gives the following ICE after
revision 201915
...
libtool: compile: /opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/
-B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/sys-include
/opt/gcc/work/libobjc/sendmsg.c -c -I. -I/opt/gcc/work/libobjc -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions -I/opt/gcc/work/libobjc/../gcc
-I/opt/gcc/work/libobjc/../gcc/config -I../.././gcc
-I/opt/gcc/work/libobjc/../libgcc -I../libgcc
-I/opt/gcc/work/libobjc/../include -fno-common -DPIC -o .libs/sendmsg.o
/opt/gcc/work/libobjc/sendmsg.c: In function '__objc_word_forward':
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: in check_rtl,
at lra.c:2034
}
^
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: Abort trap
xgcc: internal compiler error: Abort trap (program cc1)
./libtool: line 1147: 70450 Abort trap /opt/gcc/build_w/./gcc/xgcc
-B/opt/gcc/build_w/./gcc/ -B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/sys-include
/opt/gcc/work/libobjc/sendmsg.c -c -I. -I/opt/gcc/work/libobjc -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions -I/opt/gcc/work/libobjc/../gcc
-I/opt/gcc/work/libobjc/../gcc/config -I../.././gcc
-I/opt/gcc/work/libobjc/../libgcc -I../libgcc
-I/opt/gcc/work/libobjc/../include -fno-common -DPIC -o .libs/sendmsg.o
make[2]: *** [sendmsg.lo] Error 1
make[1]: *** [all-target-libobjc] Error 2
...
This can be reproduced with the attached preprocessed file without option:
[macbook] f90/bug% gcc49 -c sendmsg.i
/opt/gcc/work/libobjc/sendmsg.c: In function '__objc_word_forward':
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: in check_rtl,
at lra.c:2034
}
^
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: Abort trap
gcc49: internal compiler error: Abort trap (program cc1)
Abort
If gcc is configured with --enable-checking=release, the ICE is
[macbook] f90/bug% /opt/gcc/gcc4.9p-201916/bin/gcc -c sendmsg.i
/opt/gcc/work/libobjc/sendmsg.c: In function '__objc_word_forward':
/opt/gcc/work/libobjc/sendmsg.c:848:1: error: insn does not satisfy its
constraints:
}
^
(insn 112 44 45 2 (set (reg:TI 45 xmm8 [89])
(reg:TI 53 )) /opt/gcc/work/libobjc/sendmsg.c:842 84 {*movti_internal}
(expr_list:REG_DEAD (reg:TI 53 )
(nil)))
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: in
extract_constrain_insn_cached, at recog.c:2073
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: Abort trap
gcc: internal compiler error: Abort trap (program cc1)
Abort
The file compiles at r201908.
More information about the Gcc-bugs
mailing list