[Bug target/54305] New: [4.8 regression] FAIL: gcc.target/m68k/pr36134.c scan-assembler lea
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 17 19:10:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54305
Bug #: 54305
Summary: [4.8 regression] FAIL: gcc.target/m68k/pr36134.c
scan-assembler lea
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: schwab@linux-m68k.org
Target: m68k-*-*
@@ -7,31 +7,29 @@
f:
link.w %fp,#0
move.l a,%a1
- move.l %a3,-(%sp)
move.l b,%a0
- move.l %a2,-(%sp)
cmp.l %a1,%a0
jcc .L1
.L5:
move.l (%a0),(%a1)
- move.l %a0,%a3
- move.l %a1,%a2
+ move.l %a1,%d1
+ move.l %a0,%d0
+ add.l #16,%d1
+ add.l #16,%d0
move.l 4(%a0),4(%a1)
move.l 8(%a0),8(%a1)
- lea (16,%a1),%a1
- lea (16,%a0),%a0
- move.l 12(%a3),12(%a2)
- cmp.l %a1,%a0
+ move.l 12(%a0),12(%a1)
+ move.l %d1,%a1
+ move.l %d0,%a0
+ cmp.l %d1,%d0
jcs .L5
- move.l %a1,a
- move.l %a0,b
+ move.l %d1,a
+ move.l %d0,b
.L1:
- move.l (%sp)+,%a2
- move.l (%sp)+,%a3
unlk %fp
rts
.size f, .-f
.comm b,4,2
.comm a,4,2
- .ident "GCC: (GNU) 4.8.0 20120810 (experimental)"
+ .ident "GCC: (GNU) 4.8.0 20120817 (experimental)"
.section .note.GNU-stack,"",@progbits
First appeared in r190284.
More information about the Gcc-bugs
mailing list