c-decl.c (c_write_global_declarations): Don't check flag_syntax_only.

2010-06-19  Philip Herron  <herron.philip@googlemail.com>

	* c-decl.c (c_write_global_declarations): Don't check
	flag_syntax_only.

From-SVN: r161024
This commit is contained in:
Philip Herron 2010-06-19 10:42:02 +00:00 committed by Joseph Myers
parent 53ff31ad04
commit 5a2983ce59
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2010-06-19 Philip Herron <herron.philip@googlemail.com>
* c-decl.c (c_write_global_declarations): Don't check
flag_syntax_only.
2010-06-18 H.J. Lu <hongjiu.lu@intel.com>
* stor-layout.c (debug_rli): Remove unused local variables.

View file

@ -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;