[PATCH 1/2] driver: support state cleanup
Joseph Myers
joseph@codesourcery.com
Thu Jan 1 00:00:00 GMT 2015
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].
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;
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Jit
mailing list