diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-15 19:50:23 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-15 19:50:23 +0000 |
commit | e51764ad68e804d62247ccae42d046af58cefe47 (patch) | |
tree | 1913cdbdd39a4acb37f3c7f164d6e2ede684023c /gcc/opth-gen.awk | |
parent | a68026c8caad66299633eb2c79917738af62ccf0 (diff) | |
download | gcc-e51764ad68e804d62247ccae42d046af58cefe47.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225846 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r-- | gcc/opth-gen.awk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index 44b50ab7a4a..3fe64914e5b 100644 --- a/gcc/opth-gen.awk +++ b/gcc/opth-gen.awk @@ -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, " |