GCC produces an ICE when compiling the attached sample program. This is a preprocessed sourcefile from xorg-x11 package.
To reproduce the problem. arm-none-gcc -mthumb -Os -S a.i a.i:3383: warning: '__malloc__' attribute ignored a.i: In function 'xxGlyphs': a.i:13406: error: insn does not satisfy its constraints: (jump_insn:HI 255 330 270 19 (parallel [ (set (pc) (if_then_else (ne (reg:SI 3 r3) (const_int 0 [0x0])) (label_ref 108) (pc))) (set (mem/c/i:SI (plus:SI (reg/f:SI 3 r3 [147]) (const_int 8 [0x8])) [2 nlist+0 S4 A32]) (plus:SI (reg:SI 3 r3) (const_int -1 [0xffffffffffffffff]))) (clobber (reg:SI 3 r3)) ]) 189 {*cbranchne_decr1} (nil) (expr_list:REG_BR_PROB (const_int 9000 [0x2328]) (nil))) a.i:13406: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: GCC ICE in xorg-x11 compiled in thumb Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: raj dot khem at gmail dot com 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=25595