From patchwork Sat Dec 3 02:04:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 702205 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3tVvV825kMz9t2n for ; Sat, 3 Dec 2016 13:04:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="VtziGNVu"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=HYOWFRjuECYDSmjhTtYKmS0RmSLd4QSJVGwiIs8Uu1F5Ysip8x sr4c30SgsOkOaTCPSxDN2xLvKbYPBiLbYrWUNBoDtpO0KpJ0QRr/8Ur6uCn6hAcE Xatb4yingnJaBRYXhstzPs9W68vFbC/U0ykjkFd1xmXGuwAI5p4nmCP/s= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=ynwpl7aoFjWraeGvy3bIBzOO/f8=; b=VtziGNVuV+pGe3BdPcjS be91KPOOijlVWRB3AMSUh+V3Rub8A1/g+ZzWxA5GGqjUEQ4zFucUhlhg0z7JFDL+ 9rJ/OO4CbkEC5kSlpPHi/OBAUeQLdWvsZdr1+JrXvj21l8Ip7r+oLToPq1whkW4O ZwAXACHF92eU/NqdwxFatzI= Received: (qmail 20574 invoked by alias); 3 Dec 2016 02:04:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 20444 invoked by uid 89); 3 Dec 2016 02:04:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*MI:2846, H*M:2846, Hx-languages-length:1302 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, 03 Dec 2016 02:04:28 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E3CB037E72 for ; Sat, 3 Dec 2016 02:04:26 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-36.rdu2.redhat.com [10.10.116.36]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB324QNk022493 for ; Fri, 2 Dec 2016 21:04:26 -0500 To: gcc-patches From: Jeff Law Subject: Fix various arm failures with config-list.mk Message-ID: Date: Fri, 2 Dec 2016 19:04:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-IsSubscribed: yes ARM targets are failing to build due to an unused variable in arm_handle_cmse_nonsecure_call. Fixed in the obvious way. Verified all but arm-netbsdelf and arm-wrs-vxworks now build correctly. Jeff commit eb0d047665fc3067095d89f5592da1b2183fe72f Author: law Date: Sat Dec 3 02:02:51 2016 +0000 * config/arm/arm.c (arm_handle_cmse_nonsecure_call): Remove unused variable main_variant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243216 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d651cbd..96ae900 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-12-01 Jeff Law + + * config/arm/arm.c (arm_handle_cmse_nonsecure_call): Remove unused + variable main_variant. + 2016-12-02 Michael Meissner * config.gcc (powerpc*-*-linux*): Set gnu-indirect-function by diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index f1df3a0..ec1f5fc 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -6774,7 +6774,7 @@ arm_handle_cmse_nonsecure_call (tree *node, tree name, bool *no_add_attrs) { tree decl = NULL_TREE, fntype = NULL_TREE; - tree main_variant, type; + tree type; if (!use_cmse) {