[Bug target/26687] gcc -O1 -fno-pic generates bad code that references uninitialized r31
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 15 09:57:00 GMT 2006
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-15 09:57 -------
with powerpc-unknown-linux and 4.1.0 I get (-O1 -fno-pic -mbss-plt)
broken:
cmpwi 7,4,0
beq 7,.L2
lis 9,.LC0@ha
lfd 0,.LC0@l(9)
b .L4
.L2:
lis 9,.LC1@ha
lfd 0,.LC1@l(9)
.L4:
stfd 0,0(3)
blr
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
GCC host triplet|gcc version 4.0.0 20041026 |
|(Apple Computer, Inc. build |
|4061), OS |
GCC target triplet|gcc version 4.0.0 20041026 |powerpc-apple-darwin
|(Apple Computer, Inc. build |
|4061), OS |
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26687
More information about the Gcc-bugs
mailing list