From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17365 invoked by alias); 14 Sep 2012 15:14:57 -0000 Received: (qmail 17343 invoked by uid 22791); 14 Sep 2012 15:14:55 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,TW_IB X-Spam-Check-By: sourceware.org Received: from mail-pb0-f47.google.com (HELO mail-pb0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Sep 2012 15:14:31 +0000 Received: by pbcwy7 with SMTP id wy7so5783750pbc.20 for ; Fri, 14 Sep 2012 08:14:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=gVVfoZjrOl9mBDS/eDCFOSzpi0hzJyHJ6H4nPH7R8AA=; b=AnWilYfUntiDbAZhJsIR6o+LmSRXWicJM48G/vzU5IYuaUkK53TLRZxyAiXww44sYa Z1wRh/H96Z68Q5YME0B3Le6OheKwx0y7nqBCG97MrFL7HjLqibHUmtEJfgwOgATppEc9 U5V/y7snAgZrijz96mht0Z66qnDhOTMtDrr4VqlsXRbJfc+OUCAcL+aAJoiSTml0RacP T9HHQHcPRabUsFJ7Uoe3lG1j4Q5V6XmGBPzbhI9C3tMKJv8mqcVUAmJvySC/A0UkeKkt vCMm6uOhrfbWSZtwIPgrRm29FZvOi+BXeFCvtZaJe/jG0gj6YfGORdLCJjFBMJgxzldP dbng== Received: by 10.68.224.161 with SMTP id rd1mr5493329pbc.133.1347635670499; Fri, 14 Sep 2012 08:14:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.224.161 with SMTP id rd1mr5493312pbc.133.1347635670387; Fri, 14 Sep 2012 08:14:30 -0700 (PDT) Received: by 10.68.200.41 with HTTP; Fri, 14 Sep 2012 08:14:30 -0700 (PDT) In-Reply-To: References: <50243480.7090803@redhat.com> <50254A50.8070208@redhat.com> <50255B35.9020705@redhat.com> <50258712.4070002@redhat.com> <502E6774.8050609@redhat.com> <503F7876.7030606@redhat.com> <503F84A9.8010504@redhat.com> <503F95D8.5010506@redhat.com> <50463661.1020303@redhat.com> <1346839095.9368.1.camel@springer.wildebeest.org> Date: Fri, 14 Sep 2012 15:14:00 -0000 Message-ID: Subject: Re: [PATCH] Set correct source location for deallocator calls From: Dehao Chen To: Mark Wielaard Cc: Bryce McKinlay , Andrew Haley , Richard Henderson , Jason Merrill , Richard Guenther , GCC Patches , David Li , java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-Gm-Message-State: ALoCoQlu4uRXThJ+1imBIYhrAUNh45Oiky4PaWPFb7i/joGeowHLv6XHewpB3v32Xtw3mKV19USQz2Az4U8cn3DDEYbMRxyB993VcNaY9oNc1Q1+roaFCmc1mYgP/TrDUJzd/H3hN1s2uCfoB+Ro+Pp/RDHyICiS35YPNDcXdm9K5nvxToaOOREikUU9m7aflnA/fphUONi1 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2012-09/txt/msg00014.txt.bz2 ping... Thanks, Dehao On Sun, Sep 9, 2012 at 5:42 AM, Dehao Chen wrote: > Hi, > > I've added a libjava unittest which verifies that this patch will not > break Java debug info. I've also incorporated Richard's review in the > previous mail. Attached is the new patch, which passed bootstrap and > all gcc/libjava testsuites on x86. > > Is it ok for trunk? > > Thanks, > Dehao > > gcc/ChangeLog: > 2012-09-08 Dehao Chen > > * tree-eh.c (goto_queue_node): New field. > (record_in_goto_queue): New parameter. > (record_in_goto_queue_label): New parameter. > (lower_try_finally_dup_block): New parameter. > (maybe_record_in_goto_queue): Update source location. > (lower_try_finally_copy): Likewise. > (honor_protect_cleanup_actions): Likewise. > * gimplify.c (gimplify_expr): Reset the location to unknown. > > gcc/testsuite/ChangeLog: > 2012-09-08 Dehao Chen > > * g++.dg/debug/dwarf2/deallocator.C: New test. > > libjava/ChangeLog: > 2012-09-08 Dehao Chen > > * testsuite/libjava.lang/sourcelocation.java: New cases. > * testsuite/libjava.lang/sourcelocation.out: New cases.