on arm compiling attached file gcc ICE's
arm-oe-linux-uclibceabi-gcc -mthumb -O0 select.i
work fine at higher O level and also in arm mode.
libc/sysdeps/linux/common/select.c: In function '__syscall_select':
libc/sysdeps/linux/common/select.c:75:73: error: invalid rtl sharing found in
the insn
(insn 81 80 82 (unspec_volatile [
(const:SI (unspec:SI [
(symbol_ref:SI ("__libc_errno") [flags 0x60] <var_decl
0x7fca82ba61e0 __libc_errno>)
(const_int 3 [0x3])
(const (unspec:SI [
(const_int 0 [0x0])
] 21))
(const_int 4 [0x4])
] 20))
] 6) -1 (nil))
libc/sysdeps/linux/common/select.c:75:73: error: shared rtx
(const:SI (unspec:SI [
(symbol_ref:SI ("__libc_errno") [flags 0x60] <var_decl
0x7fca82ba61e0 __libc_errno>)
(const_int 3 [0x3])
(const (unspec:SI [
(const_int 0 [0x0])
] 21))
(const_int 4 [0x4])
] 20))
libc/sysdeps/linux/common/select.c:75:73: internal compiler error: internal
consistency failure
--
Summary: ICE internal consistency failure
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: raj dot khem at gmail dot com
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: arm-oe-linux-uclibceabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42894