From: Joseph Myers Date: Tue, 25 Aug 2015 21:20:49 +0000 (+0100) Subject: Fix build for targets not defining EXTRA_SPECS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de26e2393aec04a14dd98fb7eb87214b73da6a81;p=gcc.git Fix build for targets not defining EXTRA_SPECS. * gcc.c (driver::finalize): Only assign to extra_specs if [EXTRA_SPECS]. From-SVN: r227194 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd4ade37af3..bb64b8bf4f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-25 Joseph Myers + + * gcc.c (driver::finalize): Only assign to extra_specs if + [EXTRA_SPECS]. + 2015-08-25 Marek Polacek PR middle-end/67330 diff --git a/gcc/gcc.c b/gcc/gcc.c index 4c37edcedcc..86c24192aab 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -9813,7 +9813,9 @@ driver::finalize () } *(sl->ptr_spec) = sl->default_ptr; } +#ifdef EXTRA_SPECS extra_specs = NULL; +#endif processing_spec_function = 0;