diff mbox

Fix various arm failures with config-list.mk

Message ID af529d53-0eb1-2e24-2846-6a2f1660698f@redhat.com
State New
Headers show

Commit Message

Jeff Law Dec. 3, 2016, 2:04 a.m. UTC
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 <law@138bc75d-0d04-0410-961f-82ee72b054a4>
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 mbox

Patch

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  <law@redhat.com>
+
+	* config/arm/arm.c (arm_handle_cmse_nonsecure_call): Remove unused
+	variable main_variant.
+
 2016-12-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
 
 	* 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)
     {