From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29627 invoked by alias); 26 Jul 2007 11:51:29 -0000 Received: (qmail 29614 invoked by uid 22791); 26 Jul 2007 11:51:29 -0000 X-Spam-Check-By: sourceware.org Received: from mail3.panix.com (HELO mail3.panix.com) (166.84.1.74) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 26 Jul 2007 11:51:26 +0000 Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail3.panix.com (Postfix) with ESMTP id 8C3C813A7D4; Thu, 26 Jul 2007 07:51:20 -0400 (EDT) Received: from [192.168.1.60] (pool-70-104-131-212.nycmny.fios.verizon.net [70.104.131.212]) by mailspool3.panix.com (Postfix) with ESMTP id 87E9B16973; Thu, 26 Jul 2007 07:51:20 -0400 (EDT) Message-ID: <46A88AB8.4000401@naturalbridge.com> Date: Thu, 26 Jul 2007 12:06:00 -0000 From: Kenneth Zadeck User-Agent: Thunderbird 1.5.0.12 (X11/20060911) MIME-Version: 1.0 To: gcc-bugzilla@gcc.gnu.org, "Bonzini, Paolo" , "Park, Seongbae" , gcc-patches Subject: Re: [Bug middle-end/32749] [4.3 regression]: gfortran.dg/auto_array_1.f90 References: <20070716232625.9422.qmail@sourceware.org> In-Reply-To: <20070716232625.9422.qmail@sourceware.org> Content-Type: multipart/mixed; boundary="------------010905030200070105040204" Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg01904.txt.bz2 This is a multi-part message in MIME format. --------------010905030200070105040204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 511 This patch extends the fix in http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01557.html to handle the case of clobbers inside conditional calls. This problem caused the regression of gfortran.dg/matmul_3.f90 on the ia-64 in addition to the regression cited in this pr. Tested on ppc-32, ia-64 and x86-64. 2007-07-26 Kenneth Zadeck PR middle-end/32749 * df-problems.c (df_note_bb_compute): Handle case of clobber inside conditional call. ok to commit? kenny --------------010905030200070105040204 Content-Type: text/x-patch; name="notes3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="notes3.diff" Content-length: 512 Index: df-problems.c =================================================================== --- df-problems.c (revision 126918) +++ df-problems.c (working copy) @@ -3989,7 +3989,7 @@ df_note_bb_compute (unsigned int bb_inde /* However a may or must clobber still needs to kill the reg so that REG_DEAD notes are later placed appropriately. */ - else + else if (!(DF_REF_FLAGS (def) & (DF_REF_PARTIAL | DF_REF_CONDITIONAL))) bitmap_clear_bit (live, DF_REF_REGNO (def)); } } --------------010905030200070105040204--