From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14456 invoked by alias); 10 May 2005 13:29:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14424 invoked by uid 48); 10 May 2005 13:29:16 -0000 Date: Tue, 10 May 2005 13:29:00 -0000 Message-ID: <20050510132916.14423.qmail@sourceware.org> From: "steven at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050510124823.21488.steven@gcc.gnu.org> References: <20050510124823.21488.steven@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/21488] [4.0/4.1 regression] Not copy propagating single-argument PHIs causes out-of-ssa coalescing failure X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg01333.txt.bz2 List-Id: ------- Additional Comments From steven at gcc dot gnu dot org 2005-05-10 13:29 ------- Actually, GCC 4.0 has this problem also. GCC 3.3: foo: pushq %rbp movl $1, %ebp pushq %rbx movl $5, %ebx subq $8, %rsp .p2align 4,,7 .L6: movl %ebx, %edi incl %ebp addl $3, %ebx call bar cmpl $29, %ebp jbe .L6 addq $8, %rsp movl $89, %eax popq %rbx popq %rbp ret GCC 4.0: foo: pushq %rbx movl $5, %ebx jmp .L2 .p2align 4,,7 .L7: movl %eax, %ebx .L2: movl %ebx, %edi call bar leal 3(%rbx), %eax cmpl $92, %eax jne .L7 movl %ebx, %eax popq %rbx ret GCC CVS head as of today: foo: pushq %rbx movl $5, %ebx jmp .L2 .p2align 4,,7 .L7: movl %eax, %ebx .L2: movl %ebx, %edi call bar leal 3(%rbx), %eax cmpl $92, %eax jne .L7 movl %ebx, %eax popq %rbx ret -- What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.1 regression] Not copy |[4.0/4.1 regression] Not |propagating single-argument |copy propagating single- |PHIs causes out-of-ssa |argument PHIs causes out-of- |coalescing failure |ssa coalescing failure http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21488