From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22485 invoked by alias); 25 Feb 2016 15:35:51 -0000 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 Received: (qmail 22323 invoked by uid 89); 25 Feb 2016 15:35:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=met, Hx-languages-length:1790 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 25 Feb 2016 15:35:48 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1A5CEACD3 for ; Thu, 25 Feb 2016 15:35:45 +0000 (UTC) Resent-From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Resent-To: GCC Patches Resent-Date: Thu, 25 Feb 2016 16:35:44 +0100 Resent-Message-ID: <56CF1F50.4030002@suse.cz> Resent-User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 Message-Id: In-Reply-To: References: From: marxin Date: Thu, 25 Feb 2016 15:35:00 -0000 Subject: [PATCH 3/4] Replace ENABLE_CHECKING with CHECKING_P in dwarf2out To: gcc-patches@gcc.gnu.org X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg01736.txt.bz2 gcc/ChangeLog: 2016-02-25 Martin Liska * dwarf2out.c (new_loc_descr): Replace ENABLE_CHECKING with CHECKING_P. (resolve_args_picking_1): Likewise. * dwarf2out.h (struct GTY): Likewise. --- gcc/dwarf2out.c | 6 +++--- gcc/dwarf2out.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 97e192b..a8c21d8 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -1325,7 +1325,7 @@ new_loc_descr (enum dwarf_location_atom op, unsigned HOST_WIDE_INT oprnd1, dw_loc_descr_ref descr = ggc_cleared_alloc (); descr->dw_loc_opc = op; -#if ENABLE_CHECKING +#if CHECKING_P descr->dw_loc_frame_offset = -1; #endif descr->dw_loc_oprnd1.val_class = dw_val_class_unsigned_const; @@ -15369,14 +15369,14 @@ resolve_args_picking_1 (dw_loc_descr_ref loc, unsigned initial_frame_offset, /* If we already met this node, there is nothing to compute anymore. */ if (visited.add (l)) { -#if ENABLE_CHECKING +#if CHECKING_P /* Make sure that the stack size is consistent wherever the execution flow comes from. */ gcc_assert ((unsigned) l->dw_loc_frame_offset == frame_offset_); #endif break; } -#if ENABLE_CHECKING +#if CHECKING_P l->dw_loc_frame_offset = frame_offset_; #endif diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index a96ac38..91b3d6b 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -239,7 +239,7 @@ struct GTY((chain_next ("%h.dw_loc_next"))) dw_loc_descr_node { frame offset. */ unsigned int frame_offset_rel : 1; int dw_loc_addr; -#if ENABLE_CHECKING +#if CHECKING_P /* When translating a function into a DWARF procedure, contains the frame offset *before* evaluating this operation. It is -1 when not yet initialized. */ -- 2.7.0