From de26e2393aec04a14dd98fb7eb87214b73da6a81 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 25 Aug 2015 22:20:49 +0100 Subject: [PATCH] Fix build for targets not defining EXTRA_SPECS. * gcc.c (driver::finalize): Only assign to extra_specs if [EXTRA_SPECS]. From-SVN: r227194 --- gcc/ChangeLog | 5 +++++ gcc/gcc.c | 2 ++ 2 files changed, 7 insertions(+) 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; -- 2.30.2