diff mbox

Fix arc builds

Message ID 4e55f999-632c-23f0-6ee9-e8e9798dbb8b@redhat.com
State New
Headers show

Commit Message

Jeff Law Nov. 30, 2016, 4:37 a.m. UTC
There's a couple unused variables in arc_handle_option.  This patch 
removes them.  Verified the arc port builds again.

Installed on the trunk.

Jeff
commit 0177a97d002107d99f82be0861ac0052285ccc0a
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Nov 30 04:37:10 2016 +0000

            * common/config/arc/arc-common.c (arc_handle_option): Remove unused
            variables.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242994 138bc75d-0d04-0410-961f-82ee72b054a4
diff mbox

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index df787e1..a5b191b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@ 
 2016-11-29  Jeff Law  <law@redhat.com>
 
+	* common/config/arc/arc-common.c (arc_handle_option): Remove unused
+	variables.
+
 	* lra-constraints.c (check_and_process_move): Constrain the
 	range of DCLASS and SCLASS to avoid false positive out of bounds
 	array index warning.
diff --git a/gcc/common/config/arc/arc-common.c b/gcc/common/config/arc/arc-common.c
index 1dbddae..9f87122 100644
--- a/gcc/common/config/arc/arc-common.c
+++ b/gcc/common/config/arc/arc-common.c
@@ -69,9 +69,7 @@  arc_handle_option (struct gcc_options *opts,
 {
   size_t code = decoded->opt_index;
   int value = decoded->value;
-  const char *arg = decoded->arg;
   static int mcpu_seen = PROCESSOR_NONE;
-  char *p;
 
   switch (code)
     {