public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Restore MIPS builds
@ 2011-05-18  6:22 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2011-05-18  6:22 UTC (permalink / raw)
  To: gcc-patches

I've applied the patch below to restore -Werror MIPS builds.
Tested on mips64-linux-gnu.

Richard


gcc/
	* config/mips/mips.c (mips_handle_option): Remove unused variable.

Index: gcc/config/mips/mips.c
===================================================================
--- gcc/config/mips/mips.c	2011-05-15 08:37:21.000000000 +0100
+++ gcc/config/mips/mips.c	2011-05-15 08:37:28.000000000 +0100
@@ -15287,7 +15287,6 @@ mips_handle_option (struct gcc_options *
 		    location_t loc ATTRIBUTE_UNUSED)
 {
   size_t code = decoded->opt_index;
-  const char *arg = decoded->arg;
 
   switch (code)
     {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-17 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18  6:22 Restore MIPS builds Richard Sandiford

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).