From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@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 To: Jason Merrill Cc: Nathan Sidwell , Jakub Jelinek , Richard Biener , gcc-patches List , David Malcolm Subject: [PATCH 10/11] i386: handle location wrappers in ix86_handle_cconv_attribute Date: Sat, 18 Nov 2017 03:54:00 -0000 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 X-SW-Source: 2017-11/txt/msg01601.txt.bz2 Fixes e.g. g++.dg/abi/regparm1.C gcc/ChangeLog: * config/i386/i386.c (ix86_handle_cconv_attribute): Handle location wrappers. --- gcc/config/i386/i386.c | 1 + 1 file changed, 1 insertion(+) 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, -- 1.8.5.3