aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c2
2 files changed, 6 insertions, 1 deletions
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)
{