[Bug target/24647] two copies of a constant in two different registers
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 21 06:22:00 GMT 2006
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-21 06:22 -------
(In reply to comment #1)
> on x86-64 I get:
That is what I get on x86 also now:
f:
movl i.1523, %eax
pushl %ebp
movl %esp, %ebp
testl %eax, %eax
jne .L2
movl $2, i.1523
movb $2, %al
.L2:
popl %ebp
ret
But just change "== 0" to "!= 0" and you get the problem still. Also this is a
code size issue for -Os as movl with a constant takes up too much space.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16996
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24647
More information about the Gcc-bugs
mailing list