opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't include input.h.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 15 Jul 2015 19:50:23 +0000 (19:50 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 15 Jul 2015 19:50:23 +0000 (19:50 +0000)
2015-07-15  Andrew MacLeod  <amacleod@redhat.com>

* opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't
include input.h.
* opts.c: Remove multiline #include comment.

2015-07-15  Andrew MacLeod  <amacleod@redhat.com>

* java/expr.c: Remove multiline #include comment.

2015-07-15  Andrew MacLeod  <amacleod@redhat.com>

* fortran/trans-types.c: Remove multiline #include comment.

2015-07-15  Andrew MacLeod  <amacleod@redhat.com>

* c-family/c-opts.c: Remove multiline #include comment.

From-SVN: r225846

gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/java/ChangeLog
gcc/java/expr.c
gcc/opth-gen.awk
gcc/opts.c

index f05f82ece79106fbce4f9fcdc5fc6d26ffec1087..6186f5b3c3e3d036226a10d3655626d4749c5cfe 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-15  Andrew MacLeod  <amacleod@redhat.com>
+
+       * opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't
+       include input.h.
+       * opts.c: Remove multiline #include comment.
+
 2015-07-15  Nathan Sidwell  <nathan@codesourcery.com>
 
        * config/nvptx/mkoffload.c (process): Add C++ protection to
index 9f06dcd3e868c5bfe74e540f530a03be85f63d1c..8d1b47f46e3b45b9cd8eb377062275f4c957a0f6 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-15  Andrew MacLeod  <amacleod@redhat.com>
+
+       * c-opts.c: Remove multiline #include comment.
+
 2015-07-12  Aldy Hernandez  <aldyh@redhat.com>
 
        * c-common.c: Fix double word typos.
index 33087bade7b1c9128591b95edccd77bc68d72061..4dbb109d06aad9eb8436e9e63decd7d0198ba7a8 100644 (file)
@@ -21,7 +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 "tm.h"
 #include "alias.h"
 #include "tree.h"
 #include "c-common.h"
@@ -39,11 +39,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "plugin.h"            /* For PLUGIN_INCLUDE_FILE event.  */
 #include "mkdeps.h"
 #include "c-target.h"
-#include "tm.h"                        /* For BYTES_BIG_ENDIAN,
-                                  DOLLARS_IN_IDENTIFIERS,
-                                  STDC_0_IN_SYSTEM_HEADERS,
-                                  TARGET_FLT_EVAL_METHOD_NON_DEFAULT and
-                                  TARGET_OPTF.  */
 #include "tm_p.h"              /* For C_COMMON_OVERRIDE_OPTIONS.  */
 #include "dumpfile.h"
 
index b13f67f75fb8ef9a1fd42147a6ad63b3983afa10..4822a65c2b8ff15a3ff2541baf4bb1f81bd4d7c7 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-15  Andrew MacLeod  <amacleod@redhat.com>
+
+       * trans-types.c: Remove multiline #include comment.
+
 2015-07-14  Steven G. Kargl  <kargl@gcc.gnu.org>
 
        * simplify.c (gfc_simplify_floor): Set precision of temporary to
index 61f58273f1316e884cbeb9c3e17d55b43ac8d4f4..7f3f2619fddf23c9f752e1c0e5e564fb2385db10 100644 (file)
@@ -24,15 +24,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include "tm.h"                /* For INTMAX_TYPE, INT8_TYPE, INT16_TYPE, INT32_TYPE,
-                          INT64_TYPE, INT_LEAST8_TYPE, INT_LEAST16_TYPE,
-                          INT_LEAST32_TYPE, INT_LEAST64_TYPE, INT_FAST8_TYPE,
-                          INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE,
-                          BOOL_TYPE_SIZE, BITS_PER_UNIT, POINTER_SIZE,
-                          INT_TYPE_SIZE, CHAR_TYPE_SIZE, SHORT_TYPE_SIZE,
-                          LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE,
-                          FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE and
-                          LONG_DOUBLE_TYPE_SIZE.  */
+#include "tm.h"
 #include "alias.h"
 #include "tree.h"
 #include "fold-const.h"
index c64d3c9e97b26d880a9a6a7eb75c1187db8fbb88..1414c479359bb19f38f86a11d1db5b3b68639cd8 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-15  Andrew MacLeod  <amacleod@redhat.com>
+
+       * expr.c: Remove multiline #include comment.
+
 2015-07-12  Aldy Hernandez  <aldyh@redhat.com>
 
        * class.c: Fix double word typos.
index 0af90680fc7ecd036f8b5095e6ac3388ec240279..37a705c855f7e4d050a532ce14a7b8a4378a2f9d 100644 (file)
@@ -26,12 +26,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc.  */
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include "tm.h"                        /* For INT_TYPE_SIZE,
-                                  TARGET_VTABLE_USES_DESCRIPTORS,
-                                  BITS_PER_UNIT,
-                                  MODIFY_JNI_METHOD_CALL and
-                                  PARM_BOUNDARY.  */
-                                  
+#include "tm.h"
 #include "alias.h"
 #include "tree.h"
 #include "fold-const.h"
index 44b50ab7a4a17d7c1fa82873c0cb24e5af8c5050..3fe64914e5b2e039cbb5e679fd3719bc30fc2e16 100644 (file)
@@ -308,9 +308,8 @@ print "";
 print "/* Hash optimization from a structure.  */";
 print "extern hashval_t cl_optimization_hash (const struct cl_optimization *);";
 print "";
-print "/* Anything that includes tm.h, does not necessarily need this.  */"
-print "#if !defined(GCC_TM_H)"
-print "#include \"input.h\" /* for location_t */"
+print "/* Generator files may not have access to location_t, and don't need these.  */"
+print "#if defined(UNKNOWN_LOCATION)"
 print "bool                                                                  "
 print "common_handle_option_auto (struct gcc_options *opts,                  "
 print "                           struct gcc_options *opts_set,              "
index 9793999016eceace2305200ede42a404ea3a6ce7..468a802250ed755da7f0a433fbfc01a9ed5d85b5 100644 (file)
@@ -23,10 +23,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "intl.h"
 #include "coretypes.h"
 #include "opts.h"
-#include "options.h"
-#include "tm.h" /* For STACK_CHECK_BUILTIN,
-                  STACK_CHECK_STATIC_BUILTIN, DEFAULT_GDB_EXTENSIONS,
-                  DWARF2_DEBUGGING_INFO and DBX_DEBUGGING_INFO.  */
+#include "tm.h"
 #include "flags.h"
 #include "params.h"
 #include "diagnostic.h"