diff mbox

[1/2] driver: support state cleanup

Message ID alpine.DEB.2.10.1508252120560.1106@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Aug. 25, 2015, 9:23 p.m. UTC
I've committed as obvious this patch to fix a build failure this 
introduced for targets not defining EXTRA_SPECS, in which case extra_specs 
is not declared.  (nvptx-none was the target for which I came across such 
a failure.)

2015-08-25  Joseph Myers  <joseph@codesourcery.com>

	* gcc.c (driver::finalize): Only assign to extra_specs if
	[EXTRA_SPECS].
diff mbox

Patch

Index: gcc.c
===================================================================
--- gcc.c	(revision 227191)
+++ gcc.c	(working copy)
@@ -9813,7 +9813,9 @@  driver::finalize ()
 	}
       *(sl->ptr_spec) = sl->default_ptr;
     }
+#ifdef EXTRA_SPECS
   extra_specs = NULL;
+#endif
 
   processing_spec_function = 0;