]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2010-05-21 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 May 2010 17:18:24 +0000 (17:18 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 May 2010 17:18:24 +0000 (17:18 +0000)
        * gfortran.h: Do not include system.h.
        * bbt.c: Include system.h.
        * data.c: Ditto.
        * dependency.c: Ditto.
        * dump-parse-tree.c: Ditto.
        * arith.h: Do not include gfortran.h.
        * constructor.h: Do not include gfortran.h and splay-tree.h.
        * match.h: Do not include gfortran.h.
        * parse.h: Ditto.
        * target-memory.h: Ditto.
        * openmp.c: Do not include toplev.h and target.h.
        * trans-stmt.c: Ditto not include toplev.h.
        * primary.c: Ditto.
        * trans-common.c: Tell why toplev.h is needed. And
        do not include target.h.
        * trans-expr.c: Tell why toplev.h is needed.
        * trans-array.c: Ditto.
        * trans-openmp.c: Ditto.
        * trans-const.c: Ditto.
        * trans.c: Ditto.
        * trans-types.c: Ditto.
        * trans-io.c: Ditto.
        * trans-decl.c: Ditto.
        * scanner.c: Ditto.
        * convert.c: Ditto.
        * trans-intrinsic.c: Ditto.
        * options.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159763 138bc75d-0d04-0410-961f-82ee72b054a4

27 files changed:
gcc/fortran/ChangeLog
gcc/fortran/arith.h
gcc/fortran/bbt.c
gcc/fortran/constructor.h
gcc/fortran/convert.c
gcc/fortran/data.c
gcc/fortran/dependency.c
gcc/fortran/dump-parse-tree.c
gcc/fortran/gfortran.h
gcc/fortran/match.h
gcc/fortran/openmp.c
gcc/fortran/options.c
gcc/fortran/parse.h
gcc/fortran/primary.c
gcc/fortran/scanner.c
gcc/fortran/target-memory.h
gcc/fortran/trans-array.c
gcc/fortran/trans-common.c
gcc/fortran/trans-const.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-io.c
gcc/fortran/trans-openmp.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans-types.c
gcc/fortran/trans.c

index 8f4656bba6c63be7036a14f768992a4493fde3a3..5597c0361d8475bdc7a29a42a6ed3cc704c0341c 100644 (file)
@@ -1,3 +1,33 @@
+2010-05-21  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.h: Do not include system.h.
+       * bbt.c: Include system.h.
+       * data.c: Ditto.
+       * dependency.c: Ditto.
+       * dump-parse-tree.c: Ditto.
+       * arith.h: Do not include gfortran.h.
+       * constructor.h: Do not include gfortran.h and splay-tree.h.
+       * match.h: Do not include gfortran.h.
+       * parse.h: Ditto.
+       * target-memory.h: Ditto.
+       * openmp.c: Do not include toplev.h and target.h.
+       * trans-stmt.c: Ditto not include toplev.h.
+       * primary.c: Ditto.
+       * trans-common.c: Tell why toplev.h is needed. And
+       do not include target.h.
+       * trans-expr.c: Tell why toplev.h is needed.
+       * trans-array.c: Ditto.
+       * trans-openmp.c: Ditto.
+       * trans-const.c: Ditto.
+       * trans.c: Ditto.
+       * trans-types.c: Ditto.
+       * trans-io.c: Ditto.
+       * trans-decl.c: Ditto.
+       * scanner.c: Ditto.
+       * convert.c: Ditto.
+       * trans-intrinsic.c: Ditto.
+       * options.c: Ditto.
+
 2010-05-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
 
        PR fortran/43851
index 7066bb079494e8001707d88297c05d061d8ce4d2..9d79634aea0056981474220599b817b2ce3a83bd 100644 (file)
@@ -22,8 +22,6 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GFC_ARITH_H
 #define GFC_ARITH_H
 
-#include "gfortran.h"
-
 /* MPFR also does not have the conversion of a mpfr_t to a mpz_t, so declare
    a function for this as well.  */
 
index fa60e4fee22250f7a61f1743f1975cb79f6f40c0..1e7d8c07f846e1160dde9db44dce73119d987d8d 100644 (file)
@@ -37,6 +37,7 @@ along with GCC; see the file COPYING3.  If not see
    July 1997 Doctor Dobb's Journal, "Treaps in Java".  */
 
 #include "config.h"
+#include "system.h"
 #include "gfortran.h"
 
 typedef struct gfc_treap
index 1f7d78388f8bea011d05466f7c80bed470e8e5d3..558de7f180aeee1ef387be6ccf8bcec64925210d 100644 (file)
@@ -21,10 +21,6 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GFC_CONSTRUCTOR_H
 #define GFC_CONSTRUCTOR_H
 
-#include "gfortran.h"
-#include "splay-tree.h"
-
-
 /* Get a new constructor structure.  */
 gfc_constructor *gfc_constructor_get (void);
 
index 1e7d090cbf1f1bc327a611e1cb4c2f6759a6a655..f69ea2386ef2f20e327e37dabff33298523bfc34 100644 (file)
@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "tree.h"
 #include "flags.h"
 #include "convert.h"
-#include "toplev.h"
+#include "toplev.h"    /* For error.  */
 #include "gfortran.h"
 #include "trans.h"
 
index 6561cdc338c148c7d6256c85283154e23c579002..dd5e62cb2de42c1bbe66675c4419510d0180b603 100644 (file)
@@ -34,6 +34,7 @@ along with GCC; see the file COPYING3.  If not see
    trans-array.c.  */
 
 #include "config.h"
+#include "system.h"
 #include "gfortran.h"
 #include "data.h"
 #include "constructor.h"
index adeea6ab25da5d23e90797531e3385eb40e21c32..cf6bfd3f062d737c749d7ef793756ce215b10599 100644 (file)
@@ -25,6 +25,7 @@ along with GCC; see the file COPYING3.  If not see
    if dependencies.  Ideally these would probably be merged.  */
    
 #include "config.h"
+#include "system.h"
 #include "gfortran.h"
 #include "dependency.h"
 #include "constructor.h"
index 967a0a543ff20388fc341c5657e4ed49673a082d..e90b094188525318c4abf5436b2f9a4c00b1a110 100644 (file)
@@ -32,6 +32,7 @@ along with GCC; see the file COPYING3.  If not see
    TODO: Dump DATA.  */
 
 #include "config.h"
+#include "system.h"
 #include "gfortran.h"
 #include "constructor.h"
 
index ec334c5a13f07517745278015d9c22f9d9c57de9..0ffcfae9a5562e9891f961d830ee4c15cfd3bae9 100644 (file)
@@ -34,7 +34,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "libgfortran.h"
 
 
-#include "system.h"
 #include "intl.h"
 #include "coretypes.h"
 #include "input.h"
index 67e77418a795a1084c9647fc472d1a3d50842533..049f3d3285c6cde0d71a73067ec0ddd54d4d65ee 100644 (file)
@@ -23,8 +23,6 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GFC_MATCH_H
 #define GFC_MATCH_H
 
-#include "gfortran.h"
-
 /* gfc_new_block points to the symbol of a newly matched block.  */
 extern gfc_symbol *gfc_new_block;
 
index 4e965217cc77a31715fa061b1df4b45f7294f674..6a56515298e8a881792c1b0761b6cc9a0e0d232f 100644 (file)
@@ -26,8 +26,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "match.h"
 #include "parse.h"
 #include "pointer-set.h"
-#include "target.h"
-#include "toplev.h"
 
 /* Match an end of OpenMP directive.  End of OpenMP directive is optional
    whitespace, followed by '\n' or comment '!'.  */
index a5c0b92109f3faa8444b04e8a94015419dd77a3c..f8d600b469273135638909802024be482724d944 100644 (file)
@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "gfortran.h"
 #include "target.h"
 #include "cpp.h"
-#include "toplev.h"
+#include "toplev.h"    /* For sorry.  */
 #include "tm.h"
 
 gfc_option_t gfc_option;
index 649e54dac829f1c3fd9e6628eb4d3a8cf8dba259..faa813d88d09bf9c17835620289817c76991708e 100644 (file)
@@ -23,8 +23,6 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GFC_PARSE_H
 #define GFC_PARSE_H
 
-#include "gfortran.h"
-
 /* Enum for what the compiler is currently doing.  */
 typedef enum
 {
index 09f4eb1c6d49c2c6c66d2013c71dff9a5308dc21..53da762e2efa59a83eab3f512518e7b61e0e11c6 100644 (file)
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "arith.h"
 #include "match.h"
 #include "parse.h"
-#include "toplev.h"
 #include "constructor.h"
 
 /* Matches a kind-parameter expression, which is either a named
index 711042ddcb25952cef2107fa5586b988074771a6..7b4ab244136e4a7aeca021a60a768f1067b89eee 100644 (file)
@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "config.h"
 #include "system.h"
 #include "gfortran.h"
-#include "toplev.h"
+#include "toplev.h"    /* For set_src_pwd.  */
 #include "debug.h"
 #include "flags.h"
 #include "cpp.h"
index 603362638dd76c5ddd36df1555d4041b64e3de53..7cddc669983c16a034b9f860651f558bba70cebe 100644 (file)
@@ -22,8 +22,6 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GFC_TARGET_MEMORY_H
 #define GFC_TARGET_MEMORY_H
 
-#include "gfortran.h"
-
 /* Convert a BOZ to REAL or COMPLEX.  */
 bool gfc_convert_boz (gfc_expr *, gfc_typespec *);
 
index 1f6021a29892596977664ddff8e508e716156720..ddfe40f7a548d4771f5270e5dd1c891d93a8e888 100644 (file)
@@ -80,7 +80,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "tree.h"
-#include "toplev.h"
+#include "toplev.h"    /* For internal_error/fatal_error.  */
 #include "flags.h"
 #include "gfortran.h"
 #include "constructor.h"
index 58811136a0e7e076d1242db515ca56ae92eb2569..f577710949af859cdfd44fcb2d63343544fd2e60 100644 (file)
@@ -96,9 +96,8 @@ along with GCC; see the file COPYING3.  If not see
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include "target.h"
 #include "tree.h"
-#include "toplev.h"
+#include "toplev.h"    /* For exact_log2.  */
 #include "tm.h"                /* For rtl.h.  */
 #include "rtl.h"       /* For decl_default_tls_model.  */
 #include "gfortran.h"
index 7ced6f44cb9609be039f31a15baf37a32150e1ce..6d4f222ede6d7450f86477e3b82f0b8a9a7afed2 100644 (file)
@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "coretypes.h"
 #include "tree.h"
 #include "realmpfr.h"
-#include "toplev.h"
+#include "toplev.h"    /* For fatal_error.  */
 #include "double-int.h"
 #include "gfortran.h"
 #include "trans.h"
index 5bafdcc32ccb53d66178ee752bcf7b0a00b59c74..2eabfccd095f148c41fe8bb3c87ab8694b0555f8 100644 (file)
@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "tree-dump.h"
 #include "gimple.h"    /* For create_tmp_var_raw.  */
 #include "ggc.h"
-#include "toplev.h"
+#include "toplev.h"    /* For announce_function/internal_error.  */
 #include "tm.h"                /* For rtl.h.  */
 #include "rtl.h"       /* For decl_default_tls_model.  */
 #include "target.h"
index b76a3245d894b179ee8fa10b21a251482f0de2a6..6c5c3286eb87fb974a5badc284da511304f7fb2f 100644 (file)
@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "tree.h"
-#include "toplev.h"
+#include "toplev.h"    /* For fatal_error.  */
 #include "langhooks.h"
 #include "flags.h"
 #include "gfortran.h"
index 1113b5cd3cc734d472a7c915bd8d79be70fdb4b1..94dcc296dbf920b1e3578a882235caf03366d490 100644 (file)
@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "tm.h"                /* For UNITS_PER_WORD.  */
 #include "tree.h"
 #include "ggc.h"
-#include "toplev.h"
+#include "toplev.h"    /* For rest_of_decl_compilation/internal_error.  */
 #include "flags.h"
 #include "gfortran.h"
 #include "arith.h"
index ef6a59db61baf7feb4879bbe748ffd8751ca562c..1608a5e65982f4df09d385a5766bccaf1a530f3a 100644 (file)
@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "coretypes.h"
 #include "tree.h"
 #include "ggc.h"
-#include "toplev.h"
+#include "toplev.h"    /* For internal_error.  */
 #include "gfortran.h"
 #include "trans.h"
 #include "trans-stmt.h"
index 53ce4ffec5a0a4c83b14f0646ff619931993ed8f..50e7847d0e173b79f36e6cd3d51c9de6f59b61ff 100644 (file)
@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "coretypes.h"
 #include "tree.h"
 #include "gimple.h"    /* For create_tmp_var_raw.  */
-#include "toplev.h"
+#include "toplev.h"    /* For internal_error.  */
 #include "gfortran.h"
 #include "trans.h"
 #include "trans-stmt.h"
index e0fa3718586cb00a90f32e49a997012d2be9b74c..5c7d1512eee3a8f0f7af14287f495fc984ff5043 100644 (file)
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "tree.h"
-#include "toplev.h"
 #include "gfortran.h"
 #include "flags.h"
 #include "trans.h"
index 6b625f8e2e7ca560ab2de77e4b19c35d2e87e314..d794c2fb66892490b42bc94829f7f613facc010e 100644 (file)
@@ -30,7 +30,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "langhooks.h" /* For iso-c-bindings.def.  */
 #include "target.h"
 #include "ggc.h"
-#include "toplev.h"
+#include "toplev.h"    /* For rest_of_decl_compilation/fatal_error.  */
 #include "gfortran.h"
 #include "trans.h"
 #include "trans-types.h"
index 4c8a6d23eefd631bcffd2b14ef4e0e4fb2b630d2..43b69d5a2b087b1ca7b0f4db33ef5bd4776f1f03 100644 (file)
@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "tree.h"
 #include "gimple.h"    /* For create_tmp_var_raw.  */
 #include "tree-iterator.h"
-#include "toplev.h"
+#include "toplev.h"    /* For internal_error.  */
 #include "defaults.h"
 #include "flags.h"
 #include "gfortran.h"