ICE in reload_cse_simplify_operands when compiling with -marm -mfpu=neon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Medium
|
Richard Sandiford | ||
4.5 |
Fix Released
|
Medium
|
Richard Sandiford | ||
4.6 |
Fix Released
|
Medium
|
Richard Sandiford | ||
gcc |
Fix Released
|
Medium
|
Bug Description
I'm getting an ICE in Natty with the gcc-4.4 and gcc-4.5 arm cross compilers:
$ arm-linux-
arm-linux-
Copyright (C) 2010 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.
$ arm-linux-
epoll-ltp.c: In function ‘test_epoll_ctl’:
epoll-ltp.c:651: error: insn does not satisfy its constraints:
(insn 123 1018 125 9 epoll-ltp.c:453 (set (mem/s:DI (plus:SI (reg:SI 12 ip)
(reg:DI 2 r2)) 600 {*arm_movdi_
(nil)))
epoll-ltp.c:651: internal compiler error: in reload_
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
$ arm-linux-
arm-linux-
Copyright (C) 2010 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.
$ arm-linux-
epoll-ltp.c: In function ‘test_epoll_ctl’:
epoll-ltp.c:651:1: error: insn does not satisfy its constraints:
(insn 159 1013 160 9 epoll-ltp.c:453 (set (mem/s:DI (plus:SI (reg:SI 12 ip)
(reg:DI 2 r2 [372])) 593 {*arm_movdi_
(nil)))
epoll-ltp.c:651:1: internal compiler error: in reload_
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Perhaps this upstream bug is related or duplicate: http://
Related branches
- Richard Sandiford: Approve
-
Diff: 197 lines (+150/-18)3 files modifiedChangeLog.linaro (+21/-0)
gcc/config/arm/arm.c (+128/-17)
gcc/config/arm/arm.md (+1/-1)
- Linaro Toolchain Developers: Pending requested
-
Diff: 226 lines (+162/-21) (has conflicts)3 files modifiedChangeLog.linaro (+27/-0)
gcc/config/arm/arm.h (+134/-20)
gcc/config/arm/arm.md (+1/-1)
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Confirmed |
Changed in gcc-linaro: | |
assignee: | nobody → Chung-Lin Tang (cltang) |
Changed in gcc: | |
status: | Confirmed → In Progress |
Changed in gcc: | |
status: | In Progress → Fix Released |
Confirmed in gcc-linaro- 4.5-2011. 02-0:
michaelh@ ursa1:~ /linaro/ bugs$ /tools/ toolchains/ gcc-linaro- 4.5-2011. 02-0-armv7l- maverick- cbuild46- pavo3-cortexa8r 1/bin/gcc -marm -mfpu=neon -O2 -g -c epoll-ltp.i
(const_ int -7 [0xffffffffffff fff9])) [0 unaligned_ event_ptr_ 63->data. u64+0 S8 A64]) vfp_cortexa8} (expr_list: REG_EQUAL (const_int 0 [0x0]) cse_simplify_ operands, at postreload.c:402 gcc.gnu. org/bugs. html> for instructions.
epoll-ltp.c: In function 'test_epoll_ctl':
epoll-ltp.c:651:1: error: insn does not satisfy its constraints:
(insn 159 1013 160 9 epoll-ltp.c:453 (set (mem/s:DI (plus:SI (reg:SI 12 ip)
(reg:DI 2 r2 [372])) 593 {*arm_movdi_
(nil)))
epoll-ltp.c:651:1: internal compiler error: in reload_
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
Thumb-2 mode is fine:
michaelh@ ursa1:~ /linaro/ bugs$ /tools/ toolchains/ gcc-linaro- 4.5-2011. 02-0-armv7l- maverick- cbuild46- pavo3-cortexa8r 1/bin/gcc -mthumb -mfpu=neon -O2 -g -c epoll-ltp.i ursa1:~ /linaro/ bugs$
michaelh@
VFP only is fine.