diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85fec49466b..d9587a85685 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-06-19 Philip Herron + + * c-decl.c (c_write_global_declarations): Don't check + flag_syntax_only. + 2010-06-18 H.J. Lu * stor-layout.c (debug_rli): Remove unused local variables. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 740ca3588f0..2033a3b1e9f 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -9658,11 +9658,6 @@ c_write_global_declarations (void) if (pch_file) return; - /* Don't waste time on further processing if -fsyntax-only. - Continue for warning and errors issued during lowering though. */ - if (flag_syntax_only) - return; - /* Close the external scope. */ ext_block = pop_scope (); external_scope = 0;