This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30965] Fails to tree-combine conditions in COND_EXPRs
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2007 17:35:19 -0000
- Subject: [Bug tree-optimization/30965] Fails to tree-combine conditions in COND_EXPRs
- References: <bug-30965-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pluto at agmk dot net 2007-07-05 17:35 -------
(In reply to comment #6)
> Fixed.
Richard, there's a recent regresion in 4.3/r126266:
_ZSt9transformIPlS0_NSt3tr15_BindIFSt4plusIlEllEEEET0_T_S8_S7_T1_:
cmpq %rsi, %rdi
je .L2
addq $8, %rdi
movq %rdx, %r9
movq %rdi, %r8
.p2align 4,,10
.p2align 3
.L3:
movq 8(%rcx), %rax
addq 16(%rcx), %rax
addq $8, %r8
movq %rax, (%r9)
leaq -8(%r8), %rax
addq $8, %r9
cmpq %rax, %rsi
jne .L3
subq %rdi, %rsi
shrq $3, %rsi
leaq 8(%rdx,%rsi,8), %rdx
.L2:
movq %rdx, %rax
ret
_Z6assignRll:
subq $40, %rsp
movq %rdi, %rdx
movq %rsi, 8(%rsp)
leaq 8(%rdi), %rsi
movq %rsp, %rcx
movq $0, 16(%rsp)
call
_ZSt9transformIPlS0_NSt3tr15_BindIFSt4plusIlEllEEEET0_T_S8_S7_T1_
addq $40, %rsp
ret
_Z6assignPll:
subq $40, %rsp
movq %rdi, %rdx
movq %rsi, 8(%rsp)
leaq 8(%rdi), %rsi
movq %rsp, %rcx
movq $0, 16(%rsp)
call
_ZSt9transformIPlS0_NSt3tr15_BindIFSt4plusIlEllEEEET0_T_S8_S7_T1_
addq $40, %rsp
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30965