This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/6324] [arc-elf32] optimizations generate uncomplete code
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 May 2003 04:20:26 -0000
- Subject: [Bug optimization/6324] [arc-elf32] optimizations generate uncomplete code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6324
------- Additional Comments From dhazeghi@yahoo.com 2003-05-25 04:20 -------
Hello,
with gcc mainline I get the following assembly output. Is this correct? Thanks,
Dara
.cpu base
.section .text
.align 4
.global _ll
.type _ll, @function
_ll:
; BEGIN PROLOGUE ; vars= 8, regs= 0, args= 0, extra= 16
st fp,[sp]
mov fp,sp
sub sp,sp,24
; END PROLOGUE
st r0,[fp,-4]
ld r2,[fp,-4]
sub.f 0,r2,0
nop
bge.nd .L2
mov r2,1234
st r2,[fp,-8]
b.nd .L3
.L2:
mov r2,0
st r2,[fp,-8]
.L3:
ld r2,[fp,-8]
mov r0,r2
; EPILOGUE
j.d blink
ld.a fp,[sp,24]
.size _ll, .-_ll
.ident "GCC: (GNU) 3.4 20030524 (experimental)"
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.