From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27116 invoked by alias); 2 Apr 2004 16:57:26 -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 27107 invoked by uid 48); 2 Apr 2004 16:57:25 -0000 Date: Fri, 02 Apr 2004 16:57:00 -0000 Message-ID: <20040402165725.27106.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040402150422.14824.niemayer@isg.de> References: <20040402150422.14824.niemayer@isg.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/14824] inlining hurting performance due to non-removing of constant assignments inside loops containing conditionals X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg00196.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-02 16:57 ------- It is already fixed on the tree-ssa: #APP testlabel1: #NO_APP xorl %eax, %eax <--- this is here because z was uninitialized in your example for some cases. testl %edx, %edx jle .L7 .p2align 4,,15 .L8: incl %eax cmpl %edx, %eax jl .L8 movl $4, %eax .L7: #APP testlabel2: #NO_APP -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |SUSPENDED Known to fail| |3.5.0 Known to work| |tree-ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14824