[Bug tree-optimization/30966] (long long)(int_var) == (long long)(int_var1) is not simplified down to int_var == int_var1 when "expanded"
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 26 17:33:00 GMT 2007
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-02-26 17:33 -------
They also don't on x86_64:
f:
.LFB2:
movslq %edi,%rdi
movslq %esi,%rsi
cmpq %rsi, %rdi
sete %al
movzbl %al, %eax
ret
.LFE2:
.size f, .-f
.globl f1
.type f1, @function
f1:
.LFB3:
cmpl %esi, %edi
sete %al
movzbl %al, %eax
ret
on the tree level this is a missing tree-combiner bug.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-02-26 17:33:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30966
More information about the Gcc-bugs
mailing list