From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3014 invoked by alias); 18 Jan 2007 04:26:12 -0000 Received: (qmail 2992 invoked by uid 22791); 18 Jan 2007 04:26:11 -0000 X-Spam-Check-By: sourceware.org Received: from ms-smtp-01.southeast.rr.com (HELO ms-smtp-01.southeast.rr.com) (24.25.9.100) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 Jan 2007 04:26:06 +0000 Received: from [192.168.1.106] (cpe-071-077-045-243.nc.res.rr.com [71.77.45.243]) by ms-smtp-01.southeast.rr.com (8.13.6/8.13.6) with ESMTP id l0I4Q3df026966; Wed, 17 Jan 2007 23:26:03 -0500 (EST) Subject: Re: gcc 4.1.1 poor optimization From: Greg Smith To: Ian Lance Taylor Cc: gcc-help@gcc.gnu.org In-Reply-To: <1169092866.1657.72.camel@localhost.localdomain> References: <1168471038.9980.31.camel@localhost.localdomain> <1169092866.1657.72.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 18 Jan 2007 04:26:00 -0000 Message-Id: <1169094363.1657.76.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 (2.8.2.1-3.fc6) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg00207.txt.bz2 > movl %edx, 56(%esp) > movl 36(%ebp), %eax > andl %edi, %eax > movl %eax, 60(%esp) > movb $4, 42(%ebp) > movl 56(%esp), %edi > testl $3, %edi Oh, here's one I missed. %edx is stored into 56(%esp) then %edi is loaded from 56(%esp) for the testl but %edx is still unchanged. Greg Smith