summaryrefslogtreecommitdiff
path: root/gcc/c-family
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family')
-rw-r--r--gcc/c-family/ChangeLog6
-rw-r--r--gcc/c-family/c-common.h2
-rw-r--r--gcc/c-family/c-cppbuiltin.c1
-rw-r--r--gcc/c-family/c-format.c1
-rw-r--r--gcc/c-family/c-gimplify.c1
-rw-r--r--gcc/c-family/c-lex.c1
-rw-r--r--gcc/c-family/c-omp.c1
-rw-r--r--gcc/c-family/c-pch.c1
-rw-r--r--gcc/c-family/c-pragma.c1
-rw-r--r--gcc/c-family/c-semantics.c3
10 files changed, 9 insertions, 9 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index dadedfa041a..7593aa0da30 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-30 Joseph Myers <joseph@codesourcery.com>
+
+ * c-common.h (parse_optimize_options): Declare.
+ * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
+ c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
+
2010-11-29 Joseph Myers <joseph@codesourcery.com>
* c-opts.c (check_deps_environment_vars): Use getenv instead of
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index 11b92fbfe87..620836fef2b 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -894,6 +894,8 @@ extern bool c_cpp_error (cpp_reader *, int, int, location_t, unsigned int,
const char *, va_list *)
ATTRIBUTE_GCC_DIAG(6,0);
+extern bool parse_optimize_options (tree, bool);
+
/* Positive if an implicit `extern "C"' scope has just been entered;
negative if such a scope has just been exited. */
extern GTY(()) int pending_lang_change;
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
index 50dced35b56..576074c7a0d 100644
--- a/gcc/c-family/c-cppbuiltin.c
+++ b/gcc/c-family/c-cppbuiltin.c
@@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see
#include "c-pragma.h"
#include "output.h"
#include "debug.h" /* For dwarf2out_do_cfi_asm. */
-#include "toplev.h"
#include "tm_p.h" /* For TARGET_CPU_CPP_BUILTINS & friends. */
#include "target.h"
#include "cpp-id-data.h"
diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c
index 1ca181baebc..f5fc9d7ddb1 100644
--- a/gcc/c-family/c-format.c
+++ b/gcc/c-family/c-format.c
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "flags.h"
#include "c-common.h"
-#include "toplev.h"
#include "intl.h"
#include "diagnostic-core.h"
#include "langhooks.h"
diff --git a/gcc/c-family/c-gimplify.c b/gcc/c-family/c-gimplify.c
index f8a2ab4bce2..769df7cd200 100644
--- a/gcc/c-family/c-gimplify.c
+++ b/gcc/c-family/c-gimplify.c
@@ -37,7 +37,6 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "langhooks-def.h"
#include "flags.h"
-#include "toplev.h"
#include "tree-dump.h"
#include "c-pretty-print.h"
#include "cgraph.h"
diff --git a/gcc/c-family/c-lex.c b/gcc/c-family/c-lex.c
index e372954f9ff..778e4246749 100644
--- a/gcc/c-family/c-lex.c
+++ b/gcc/c-family/c-lex.c
@@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see
#include "timevar.h"
#include "cpplib.h"
#include "c-pragma.h"
-#include "toplev.h"
#include "intl.h"
#include "splay-tree.h"
#include "debug.h"
diff --git a/gcc/c-family/c-omp.c b/gcc/c-family/c-omp.c
index 31970bdeaee..b9b144896da 100644
--- a/gcc/c-family/c-omp.c
+++ b/gcc/c-family/c-omp.c
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tree.h"
#include "c-common.h"
-#include "toplev.h"
#include "gimple.h" /* For create_tmp_var_raw. */
#include "langhooks.h"
diff --git a/gcc/c-family/c-pch.c b/gcc/c-family/c-pch.c
index b863c25a93e..b429d9d7713 100644
--- a/gcc/c-family/c-pch.c
+++ b/gcc/c-family/c-pch.c
@@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "c-common.h"
#include "output.h"
-#include "toplev.h"
#include "debug.h"
#include "c-pragma.h"
#include "ggc.h"
diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c
index 2250bef9fc0..fa8771ec09f 100644
--- a/gcc/c-family/c-pragma.c
+++ b/gcc/c-family/c-pragma.c
@@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see
#include "cpplib.h"
#include "c-pragma.h"
#include "flags.h"
-#include "toplev.h"
#include "c-common.h"
#include "output.h"
#include "tm_p.h" /* For REGISTER_TARGET_PRAGMAS (why is
diff --git a/gcc/c-family/c-semantics.c b/gcc/c-family/c-semantics.c
index d26d8718021..0f9f51e061d 100644
--- a/gcc/c-family/c-semantics.c
+++ b/gcc/c-family/c-semantics.c
@@ -1,5 +1,5 @@
/* This file contains subroutine used by the C front-end to construct GENERIC.
- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
Written by Benjamin Chelf (chelf@codesourcery.com).
@@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
#include "splay-tree.h"
#include "c-common.h"
-#include "toplev.h"
#include "flags.h"
#include "output.h"
#include "tree-iterator.h"