Fix build for targets not defining EXTRA_SPECS.

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

From-SVN: r227194
This commit is contained in:
Joseph Myers 2015-08-25 22:20:49 +01:00 committed by Joseph Myers
parent 387b37c1ac
commit de26e2393a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-08-25 Joseph Myers <joseph@codesourcery.com>
* gcc.c (driver::finalize): Only assign to extra_specs if
[EXTRA_SPECS].
2015-08-25 Marek Polacek <polacek@redhat.com>
PR middle-end/67330

View File

@ -9813,7 +9813,9 @@ driver::finalize ()
}
*(sl->ptr_spec) = sl->default_ptr;
}
#ifdef EXTRA_SPECS
extra_specs = NULL;
#endif
processing_spec_function = 0;