This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/9567] Using struct fields produces worse code than stand-alone vars.
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2003 00:17:57 -0000
- Subject: [Bug optimization/9567] Using struct fields produces worse code than stand-alone vars.
- 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=9567
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-26 00:17:57
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-26 00:17 -------
still happens on the mainline (20030525):
__Z2f1v:
li r2,10
li r11,0
mtctr r2
li r12,0
L8:
addi r11,r11,1
addi r12,r12,1
lbz r2,0(r11)
stb r2,0(r12)
bdnz L8
blr
.align 2
.globl __Z2f2v
__Z2f2v:
li r3,10
mtctr r3
L19:
lbzu r3,1(r2)
stbu r3,1(r9)
bdnz L19
blr
.data
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.