From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12897 invoked by alias); 6 Nov 2012 16:43:56 -0000 Received: (qmail 12888 invoked by uid 22791); 6 Nov 2012 16:43:54 -0000 X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_TM X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Nov 2012 16:43:46 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA6GhkdT012237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Nov 2012 11:43:46 -0500 Received: from stumpy.slc.redhat.com (ovpn-113-78.phx2.redhat.com [10.3.113.78]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qA6GhjPU004207; Tue, 6 Nov 2012 11:43:45 -0500 Message-ID: <50993E41.2070302@redhat.com> Date: Tue, 06 Nov 2012 16:43:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: Jakub Jelinek CC: gcc-patches@gcc.gnu.org, Alexandre Oliva Subject: Re: [PATCH] Use propagate_threaded_block_debug_into even in loop header copying pass (PR debug/54693) References: <20121106110008.GS1881@tucnak.redhat.com> In-Reply-To: <20121106110008.GS1881@tucnak.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2012-11/txt/msg00533.txt.bz2 On 11/06/2012 04:00 AM, Jakub Jelinek wrote: > Hi! > > This patch fixes > -FAIL: gcc.dg/guality/pr54693-2.c -O1 line 21 i == v + 1 > -FAIL: gcc.dg/guality/pr54693-2.c -O2 line 21 i == v + 1 > -FAIL: gcc.dg/guality/pr54693-2.c -O3 -fomit-frame-pointer line 21 i == v + 1 > -FAIL: gcc.dg/guality/pr54693-2.c -O3 -g line 21 i == v + 1 > -FAIL: gcc.dg/guality/pr54693.c -O1 line 22 i == c - 48 > on both x86_64-linux and i686-linux (and the x/y/z tests in the new testcase > from UNSUPPORTED to PASS) by copying the debug stmt in ch pass similarly to > how jump threading does that. > > Ok for trunk? > > 2012-11-06 Jakub Jelinek > > PR debug/54693 > * tree-flow.h (propagate_threaded_block_debug_into): New prototype. > * tree-ssa-threadedge.c (propagate_threaded_block_debug_into): No > longer static. > * tree-ssa-loop-ch.c (copy_loop_headers): Use it. > > * gcc.dg/guality/pr54693-2.c: New test. OK. jeff