Message ID | 20190806031137.305821-18-nivedita@alum.mit.edu |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-506296-incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-506296-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=alum.mit.edu Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="QQKjAWQI"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 462frh3xcdz9s7T for <incoming@patchwork.ozlabs.org>; Tue, 6 Aug 2019 13:15:00 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=default; b=LpU/1YurBKiCHaYw Z4VCaTVvcGwftcpI/dm9nJKUFOl02AU7vlyYHzH+gROkuacOcI/1RJzFXltFD13W wBjZ2eMI7Mq81GCcGJEMkZfFLpg8JCzHGweo7JkaWKe0mTzIYG97pQtDd3J+PCYE oyWsQlODWN+SLnzZFuCtYZwxDVY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=default; bh=3R5MYfVMyaifRNN0xNIeWv MxUBY=; b=QQKjAWQIX6O4/2QrtadQH4LbdHgmAWt95qCtjsBtg+050P1ptKDdpi KDeo8yRFsNvqzpPdyEgT5YM2zQsa+Yo/CFFXPxHNMqAuqCYnlUoBvXYoXsVD7YTo viVC5bNVWjtfysqn53bRP4pw57u5IGoGedcW3UuGdFkOmD4FiOe8I= Received: (qmail 94649 invoked by alias); 6 Aug 2019 03:12:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-patches.gcc.gnu.org> List-Unsubscribe: <mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-help@gcc.gnu.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 94562 invoked by uid 89); 6 Aug 2019 03:12:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_STOCKGEN, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:780, HContent-Transfer-Encoding:8bit X-HELO: mail-qt1-f195.google.com Received: from mail-qt1-f195.google.com (HELO mail-qt1-f195.google.com) (209.85.160.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Aug 2019 03:12:01 +0000 Received: by mail-qt1-f195.google.com with SMTP id d23so83190417qto.2 for <gcc-patches@gcc.gnu.org>; Mon, 05 Aug 2019 20:12:01 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id t8sm35846563qkt.75.2019.08.05.20.11.59 for <gcc-patches@gcc.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2019 20:11:59 -0700 (PDT) From: Arvind Sankar <nivedita@alum.mit.edu> To: gcc-patches@gcc.gnu.org Subject: [PATCH v2 17/18] Use SYMBOL_REF_P macro. Date: Mon, 5 Aug 2019 23:11:36 -0400 Message-Id: <20190806031137.305821-18-nivedita@alum.mit.edu> In-Reply-To: <20190806031137.305821-1-nivedita@alum.mit.edu> References: <20190805181450.GA1105094@rani.riverdale.lan> <20190806031137.305821-1-nivedita@alum.mit.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
[v2,01/18] Fix CONST_DOUBLE_AS_FLOAT_P comment.
|
expand
|
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index b2b4f6d82b2..ea38963d177 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -23747,8 +23747,7 @@ gen_variable_die (tree decl, tree origin, dw_die_ref context_die) if (single_element_loc_list_p (loc) && loc->expr->dw_loc_opc == DW_OP_addr && loc->expr->dw_loc_next == NULL - && GET_CODE (loc->expr->dw_loc_oprnd1.v.val_addr) - == SYMBOL_REF) + && SYMBOL_REF_P (loc->expr->dw_loc_oprnd1.v.val_addr)) { rtx x = loc->expr->dw_loc_oprnd1.v.val_addr; loc->expr->dw_loc_oprnd1.v.val_addr