public inbox for
help / color / mirror / Atom feed
From: Jan-Benedict Glaw <>
Subject: [gcc r13-2662] Drop unused variable
Date: Wed, 14 Sep 2022 12:18:26 +0000 (GMT)	[thread overview]
Message-ID: <> (raw)

commit r13-2662-g1457be6dbd78e1fd2f84584e020f9a2b3803181a
Author: Jan-Benedict Glaw <>
Date:   Wed Sep 14 14:16:52 2022 +0200

    Drop unused variable
    With the "STABS: remove -gstabs and -gxcoff functionality" patch, a left-over
    `start` variable remained unused:
    /usr/lib/gcc-snapshot/bin/g++  -fno-PIE -c   -g -O2   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libcody  -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace   -o mips.o -MT mips.o -MMD -MP -MF ./.deps/mips.TPo ../../gcc/gcc/config/mips/
    ../../gcc/gcc/config/mips/ In function 'void mips_option_override()':
    ../../gcc/gcc/config/mips/ error: unused variable 'start' [-Werror=unused-variable]
    20021 |   int i, start, regno, mode;
          |          ^~~~~
    2022-09-14  Jan-Benedict Glaw  <>
            * config/mips/ (mips_option_override): Drop unused variable.

 gcc/config/mips/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/mips/ b/gcc/config/mips/
index 47724950c3e..387376b3df8 100644
--- a/gcc/config/mips/
+++ b/gcc/config/mips/
@@ -20018,7 +20018,7 @@ mips_set_tune (const struct mips_cpu_info *info)
 static void
 mips_option_override (void)
-  int i, start, regno, mode;
+  int i, regno, mode;
   if (OPTION_SET_P (mips_isa_option))
     mips_isa_option_info = &mips_cpu_info_table[mips_isa_option];

                 reply	other threads:[~2022-09-14 12:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).