From a195e177c07cf35bbb9f5194d85429935daa2f74 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 29 Nov 2016 21:37:10 -0700 Subject: [PATCH] arc-common.c (arc_handle_option): Remove unused variables. * common/config/arc/arc-common.c (arc_handle_option): Remove unused variables. From-SVN: r242994 --- gcc/ChangeLog | 3 +++ gcc/common/config/arc/arc-common.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df787e1be1e..a5b191b6ed2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2016-11-29 Jeff Law + * 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 1dbddae388a..9f8712281ff 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) { -- 2.30.2