diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2015-07-09 11:27:35 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2015-07-09 11:27:35 +0000 |
commit | 1916bcb5569bbeef370916731aabfab454b5593d (patch) | |
tree | dce74baf602684271120c03b1b49cd30e6292aa2 /gcc | |
parent | a2fe398522e45afa586503e5b0a7c98e2352cd69 (diff) | |
download | gcc-1916bcb5569bbeef370916731aabfab454b5593d.zip gcc-1916bcb5569bbeef370916731aabfab454b5593d.tar.gz gcc-1916bcb5569bbeef370916731aabfab454b5593d.tar.bz2 |
flags.h: Don't include flag-types.h or options.h.
2015-07-09 Andrew MacLeod <amacleod@redhat.com>
* flags.h: Don't include flag-types.h or options.h.
* opts-common.c: Adjust includes.
* opts-global.c: Likewise.
* common/config/epiphany/epiphany-common.c: Likewise.
c
* c-array-notation.c: Adjust includes for flags.h changes.
* c-objc-common.c: Likewise.
c-family
* c-common.h: Adjust includes for flags.h changes.
* stub-objc.c: Likewise.
fortran
* arith.c: Adjust includes for flags.h changes.
* array.c: Likewise.
* check.c: Likewise.
* decl.c: Likewise.
* error.c: Likewise.
* expr.c: Likewise.
* frontend-passes.c: Likewise.
* interface.c: Likewise.
* intrinsic.c: Likewise.
* io.c: Likewise.
* match.c: Likewise.
* openmp.c: Likewise.
* parse.c: Likewise.
* primary.c: Likewise.
* resolve.c: Likewise.
* scanner.c: Likewise.
* simplify.c: Likewise.
* symbol.c: Likewise.
* target-memory.c: Likewise.
jit
* dummy-frontend.c: Adjust includes for flags.h changes.
* jit-common.h: Likewise.
* jit-playback.c: Likewise.
lto
* lto-lang.c: Adjust includes for flags.h changes.
From-SVN: r225608
Diffstat (limited to 'gcc')
37 files changed, 68 insertions, 30 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7f7dac..b20c003 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * flags.h: Don't include flag-types.h or options.h. + * opts-common.c: Adjust includes. + * opts-global.c: Likewise. + * common/config/epiphany/epiphany-common.c: Likewise. + 2015-07-09 H.J. Lu <hongjiu.lu@intel.com> PR target/66818 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 75e43fd..b912093 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * c-common.h: Adjust includes for flags.h changes. + * stub-objc.c: Likewise. + 2015-07-08 Eric Botcazou <ebotcazou@adacore.com> * c-ada-spec.h (cpp_operation): Add IS_CONSTEXPR. diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index 1acce01..a2a4621 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see #include "splay-tree.h" #include "cpplib.h" #include "alias.h" -#include "flags.h" #include "tree.h" #include "fold-const.h" diff --git a/gcc/c-family/stub-objc.c b/gcc/c-family/stub-objc.c index dd4c9fe..fb6037b 100644 --- a/gcc/c-family/stub-objc.c +++ b/gcc/c-family/stub-objc.c @@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "alias.h" #include "tree.h" -#include "flags.h" #include "c-common.h" #include "c-objc.h" diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 792198b..a75f2e8 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * c-array-notation.c: Adjust includes for flags.h changes. + * c-objc-common.c: Likewise. + 2015-07-07 Andrew MacLeod <amacleod@redhat.com> * c-array-notation.c: Adjust includes. diff --git a/gcc/c/c-array-notation.c b/gcc/c/c-array-notation.c index 26147ce..3de7569 100644 --- a/gcc/c/c-array-notation.c +++ b/gcc/c/c-array-notation.c @@ -70,7 +70,6 @@ #include "coretypes.h" #include "tree.h" #include "alias.h" -#include "flags.h" #include "c-tree.h" #include "gimple-expr.h" #include "tree-iterator.h" diff --git a/gcc/c/c-objc-common.c b/gcc/c/c-objc-common.c index bbb949a..47fd7de 100644 --- a/gcc/c/c-objc-common.c +++ b/gcc/c/c-objc-common.c @@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tree.h" #include "alias.h" -#include "flags.h" #include "c-tree.h" #include "intl.h" #include "c-family/c-pretty-print.h" diff --git a/gcc/common/config/epiphany/epiphany-common.c b/gcc/common/config/epiphany/epiphany-common.c index d7e6267..52504d0 100644 --- a/gcc/common/config/epiphany/epiphany-common.c +++ b/gcc/common/config/epiphany/epiphany-common.c @@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "common/common-target.h" #include "opts.h" -#include "flags.h" +#include "options.h" #define TARGET_OPTION_OPTIMIZATION_TABLE epiphany_option_optimization_table diff --git a/gcc/flags.h b/gcc/flags.h index 22abddc..785b521 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -20,9 +20,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_FLAGS_H #define GCC_FLAGS_H -#include "flag-types.h" -#include "options.h" - #if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS) /* Names of debug_info_type, for error messages. */ diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 295229a..1e0d031 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,25 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * arith.c: Adjust includes for flags.h changes. + * array.c: Likewise. + * check.c: Likewise. + * decl.c: Likewise. + * error.c: Likewise. + * expr.c: Likewise. + * frontend-passes.c: Likewise. + * interface.c: Likewise. + * intrinsic.c: Likewise. + * io.c: Likewise. + * match.c: Likewise. + * openmp.c: Likewise. + * parse.c: Likewise. + * primary.c: Likewise. + * resolve.c: Likewise. + * scanner.c: Likewise. + * simplify.c: Likewise. + * symbol.c: Likewise. + * target-memory.c: Likewise. + 2015-07-07 Andrew MacLeod <amacleod@redhat.com> * convert.c: Adjust includes. diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c index 6c31b70..e4da3b9 100644 --- a/gcc/fortran/arith.c +++ b/gcc/fortran/arith.c @@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "arith.h" #include "target-memory.h" diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c index 1ab3cd0..276737b 100644 --- a/gcc/fortran/array.c +++ b/gcc/fortran/array.c @@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" +#include "options.h" #include "flags.h" #include "gfortran.h" #include "match.h" diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index 3286a58..6548a01 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "intrinsic.h" #include "constructor.h" diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 8ab4d79..4946061 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "gfortran.h" #include "match.h" #include "parse.h" -#include "flags.h" +#include "options.h" #include "constructor.h" #include "alias.h" #include "tree.h" diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c index c7d8581..7689bbd 100644 --- a/gcc/fortran/error.c +++ b/gcc/fortran/error.c @@ -27,7 +27,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "diagnostic.h" diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index d7a90c4..9e5a804f 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -21,7 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "arith.h" #include "match.h" diff --git a/gcc/fortran/frontend-passes.c b/gcc/fortran/frontend-passes.c index 3eda42f..bc9f621 100644 --- a/gcc/fortran/frontend-passes.c +++ b/gcc/fortran/frontend-passes.c @@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "gfortran.h" #include "arith.h" -#include "flags.h" +#include "options.h" #include "dependency.h" #include "constructor.h" #include "opts.h" diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c index 5956934..2ea2630 100644 --- a/gcc/fortran/interface.c +++ b/gcc/fortran/interface.c @@ -66,7 +66,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "match.h" #include "arith.h" diff --git a/gcc/fortran/intrinsic.c b/gcc/fortran/intrinsic.c index 5666bff..a80b16e 100644 --- a/gcc/fortran/intrinsic.c +++ b/gcc/fortran/intrinsic.c @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "intrinsic.h" diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c index e8395b5..d50a45a 100644 --- a/gcc/fortran/io.c +++ b/gcc/fortran/io.c @@ -21,7 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "match.h" #include "parse.h" diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c index 1403531..523e9b2 100644 --- a/gcc/fortran/match.c +++ b/gcc/fortran/match.c @@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" +#include "options.h" #include "flags.h" #include "gfortran.h" #include "match.h" diff --git a/gcc/fortran/openmp.c b/gcc/fortran/openmp.c index 8d10608..3c12d8e 100644 --- a/gcc/fortran/openmp.c +++ b/gcc/fortran/openmp.c @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" #include "gfortran.h" #include "arith.h" #include "match.h" diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index 148cff9..45ad63f 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include <setjmp.h> #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "match.h" #include "parse.h" diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c index acde051..c8c6581 100644 --- a/gcc/fortran/primary.c +++ b/gcc/fortran/primary.c @@ -21,7 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "arith.h" #include "match.h" diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index d16bf13..641a3bd 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -21,7 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "obstack.h" #include "bitmap.h" diff --git a/gcc/fortran/scanner.c b/gcc/fortran/scanner.c index e524345..bfb7d45 100644 --- a/gcc/fortran/scanner.c +++ b/gcc/fortran/scanner.c @@ -46,7 +46,7 @@ along with GCC; see the file COPYING3. If not see #include "gfortran.h" #include "toplev.h" /* For set_src_pwd. */ #include "debug.h" -#include "flags.h" +#include "options.h" #include "cpp.h" #include "scanner.h" diff --git a/gcc/fortran/simplify.c b/gcc/fortran/simplify.c index 2f3e247..bc3ec3f 100644 --- a/gcc/fortran/simplify.c +++ b/gcc/fortran/simplify.c @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" #include "gfortran.h" #include "arith.h" #include "intrinsic.h" diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c index b7d5b86..52c5234 100644 --- a/gcc/fortran/symbol.c +++ b/gcc/fortran/symbol.c @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" +#include "options.h" #include "gfortran.h" #include "parse.h" #include "match.h" diff --git a/gcc/fortran/target-memory.c b/gcc/fortran/target-memory.c index 9895bc3..a58a977 100644 --- a/gcc/fortran/target-memory.c +++ b/gcc/fortran/target-memory.c @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" #include "alias.h" #include "tree.h" #include "fold-const.h" diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index e9a32f0..cb021a8 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * dummy-frontend.c: Adjust includes for flags.h changes. + * jit-common.h: Likewise. + * jit-playback.c: Likewise. + 2015-07-08 David Malcolm <dmalcolm@redhat.com> PR jit/66783 diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c index 3d0b3ea..1a6b09a 100644 --- a/gcc/jit/dummy-frontend.c +++ b/gcc/jit/dummy-frontend.c @@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "opts.h" #include "alias.h" -#include "flags.h" #include "tree.h" #include "stor-layout.h" #include "inchash.h" diff --git a/gcc/jit/jit-common.h b/gcc/jit/jit-common.h index 28ce2bc..e6fc132 100644 --- a/gcc/jit/jit-common.h +++ b/gcc/jit/jit-common.h @@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see #include "libgccjit.h" #include "vec.h" -#include "flags.h" #include "tree.h" #include "inchash.h" #include "tree-iterator.h" diff --git a/gcc/jit/jit-playback.c b/gcc/jit/jit-playback.c index 2b99c49..9f8ec4a 100644 --- a/gcc/jit/jit-playback.c +++ b/gcc/jit/jit-playback.c @@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see #include "statistics.h" #include "vec.h" #include "alias.h" -#include "flags.h" #include "tree.h" #include "inchash.h" #include "hash-map.h" diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 2390de6..03d06e2 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * lto-lang.c: Adjust includes for flags.h changes. + 2015-07-07 Andrew MacLeod <amacleod@redhat.com> * lto-lang.c: Adjust includes. diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index 3e87852..9bf6496 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "flags.h" #include "tm.h" #include "function.h" #include "predict.h" diff --git a/gcc/opts-common.c b/gcc/opts-common.c index e53e85f..8e51974 100644 --- a/gcc/opts-common.c +++ b/gcc/opts-common.c @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see #include "intl.h" #include "coretypes.h" #include "opts.h" -#include "flags.h" +#include "options.h" #include "diagnostic.h" static void prune_options (struct cl_decoded_option **, unsigned int *); diff --git a/gcc/opts-global.c b/gcc/opts-global.c index 3056301..50b32ac 100644 --- a/gcc/opts-global.c +++ b/gcc/opts-global.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "diagnostic.h" #include "opts.h" +#include "options.h" #include "flags.h" #include "alias.h" #include "backend.h" |