aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2010-06-19 10:42:02 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2010-06-19 11:42:02 +0100
commit5a2983ce59e3691aaca42d87dca21ca7a38486fc (patch)
tree4d7c00241c44c5ec0de0e09762cdbabec630365e
parent53ff31ad042096177663d302b769d70e2f4f7d72 (diff)
downloadgcc-5a2983ce59e3691aaca42d87dca21ca7a38486fc.zip
gcc-5a2983ce59e3691aaca42d87dca21ca7a38486fc.tar.gz
gcc-5a2983ce59e3691aaca42d87dca21ca7a38486fc.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-decl.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 85fec49..d9587a8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 740ca35..2033a3b 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;