Message ID | 1510973563-10046-11-git-send-email-dmalcolm@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-467257-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-467257-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="svrRQi9U"; 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 3ydzzv0HkLz9ryr for <incoming@patchwork.ozlabs.org>; Sat, 18 Nov 2017 13:52:42 +1100 (AEDT) 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:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=dG97VHZzH5ZROegvS68DSGcrSc3Gng5Gln8uCcaeU7xNgnjrG+h/d 0aomxJZSLXmZ2zUkeZJhi1WECvTCjbTFDJIE7dKKoZYyFYVXSkhcStWEgT0vIH8t /NDsOrb5dZBDK5zuGuC/qGdd+imRWT+G1Zs29Lu08om/vLP7lGO0uM= 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:cc:subject:date:message-id:in-reply-to:references; s= default; bh=qbv77lkewgoBIbJktqpVHVAh9C4=; b=svrRQi9Uc7DdmmTzh6wH POpGf9qW0O8ucHL3h2d9I/e7zs7PdkEObuRWHZ8RDCDMcdQjCphu9BG3C2up1SpE ckA6HNrprvHg04cdz9jYSFjsKbCNwFCu4JXdcGuhjrGhk42OW2GxOV7hEwUvNfTS LbI+2AOMM0B0jyvG1tG9698= Received: (qmail 70202 invoked by alias); 18 Nov 2017 02:51:03 -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 70125 invoked by uid 89); 18 Nov 2017 02:51:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KB_WAM_FROM_NAME_SINGLEWORD, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 18 Nov 2017 02:51:01 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CB27A155; Sat, 18 Nov 2017 02:51:00 +0000 (UTC) Received: from c64.redhat.com (ovpn-112-13.phx2.redhat.com [10.3.112.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 30EF560DCE; Sat, 18 Nov 2017 02:50:58 +0000 (UTC) From: David Malcolm <dmalcolm@redhat.com> To: Jason Merrill <jason@redhat.com> Cc: Nathan Sidwell <nathan@acm.org>, Jakub Jelinek <jakub@redhat.com>, Richard Biener <richard.guenther@gmail.com>, gcc-patches List <gcc-patches@gcc.gnu.org>, David Malcolm <dmalcolm@redhat.com> Subject: [PATCH 10/11] i386: handle location wrappers in ix86_handle_cconv_attribute Date: Fri, 17 Nov 2017 21:52:42 -0500 Message-Id: <1510973563-10046-11-git-send-email-dmalcolm@redhat.com> In-Reply-To: <1510973563-10046-1-git-send-email-dmalcolm@redhat.com> References: <1510350329-48956-1-git-send-email-dmalcolm@redhat.com> <1510973563-10046-1-git-send-email-dmalcolm@redhat.com> X-IsSubscribed: yes |
Series |
C++: locations for (almost) everything (PR 43486)
|
expand
|
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b2c2934..7014e84 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -6283,6 +6283,7 @@ ix86_handle_cconv_attribute (tree *node, tree name, } cst = TREE_VALUE (args); + STRIP_ANY_LOCATION_WRAPPER (cst); if (TREE_CODE (cst) != INTEGER_CST) { warning (OPT_Wattributes,