http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49385
Summary: Invalid RTL intstruction for ARM Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: revital.e...@linaro.org Created attachment 24504 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24504 The test to reproduce the RTL instruction. I see the following invalid mem to mem RTL instruction in test2.c.189r.sched1 when compiling: "test2.c -O2 -mthumb -da -march=armv7-a" with trunk -r174982: configured with: --target=arm-linux-gnueabi --enable-__cxa_atexit --disable-nls --with-float=softfp --with-fpu=vfp --disable-bootstrap target_alias=arm-linux-gnueabi --enable-languages=c,fortran,lto (insn 52 50 54 3 (set (mem:HI (plus:SI (reg:SI 167 [ ivtmp.14 ]) (const_int 2 [0x2])) [5 MEM[base: D.2088_27, offset: 2B]+0 S2 A16]) (mem:HI (plus:SI (reg:SI 172 [ ivtmp.11 ]) (const_int 2 [0x2])) [3 MEM[base: D.2087_26, offset: 2B]+0 S2 A16])) test2.c:75 710 {*thumb2_movhi_insn} (nil))