]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arc-common.c (arc_handle_option): Remove unused variables.
authorJeff Law <law@redhat.com>
Wed, 30 Nov 2016 04:37:10 +0000 (21:37 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 30 Nov 2016 04:37:10 +0000 (21:37 -0700)
        * common/config/arc/arc-common.c (arc_handle_option): Remove unused
        variables.

From-SVN: r242994

gcc/ChangeLog
gcc/common/config/arc/arc-common.c

index df787e1be1e5dafe92b1f80555510862d16867db..a5b191b6ed2155252520b967f435b1481d5448fd 100644 (file)
@@ -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.
index 1dbddae388a6955a3540f706478f4bc3da25e3fa..9f8712281ff6411cbdbec3256064130953fd62db 100644 (file)
@@ -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)
     {