aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-07-09 14:24:20 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-07-09 14:24:20 +0000
commitf51ade332ab18b527d3d0908130416edb331e14a (patch)
treebd5bc34aff65a87e17892434ab21222faf047a27 /gcc/lto
parent44fc0a5136eea2fb4eb7d46a8065ee518f6eb575 (diff)
downloadgcc-f51ade332ab18b527d3d0908130416edb331e14a.zip
gcc-f51ade332ab18b527d3d0908130416edb331e14a.tar.gz
gcc-f51ade332ab18b527d3d0908130416edb331e14a.tar.bz2
lto-streamer.h: Don't include target.h and alloc-pool.h.
2015-07-09 Andrew MacLeod <amacleod@redhat.com> * lto-streamer.h: Don't include target.h and alloc-pool.h. * builtins.c: Adjust includes. * gimple.c: Likewise. * ipa-icf.c: Likewise. * lto-opts.c: Likewise. * ipa-reference.c: Likewise. * lto-section-out.c: Likewise. * lto-streamer-in.c: Likewise. * lto-streamer-out.c: Likewise. * opts-global.c: Likewise. * symtab.c: Likewise. * tree-chkp.c: Likewise. * tree-ssa-live.c: Likewise. * tree-streamer-in.c: Likewise. * tree-streamer-out.c: Likewise. * config/darwin.c: Likewise. * config/i386/winnt.c: Likewise. cp 2015-07-09 Andrew MacLeod <amacleod@redhat.com> * cp-ubsan.c: Don't include alloc-pool.h or lto-streamer.h. lto 2015-07-09 Andrew MacLeod <amacleod@redhat.com> * lto-lang.c: Adjust includes of target.h, alloc-pool.h and lto-streamer.h. * lto-object.c: Likewise. * lto-partition.c: Likewise. * lto-symtab.c: Likewise. From-SVN: r225612
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog8
-rw-r--r--gcc/lto/lto-lang.c1
-rw-r--r--gcc/lto/lto-object.c1
-rw-r--r--gcc/lto/lto-partition.c3
-rw-r--r--gcc/lto/lto-symtab.c3
5 files changed, 12 insertions, 4 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 03d06e2..4f2d0ec 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,5 +1,13 @@
2015-07-09 Andrew MacLeod <amacleod@redhat.com>
+ * lto-lang.c: Adjust includes of target.h, alloc-pool.h and
+ lto-streamer.h.
+ * lto-object.c: Likewise.
+ * lto-partition.c: Likewise.
+ * lto-symtab.c: Likewise.
+
+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>
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 9bf6496..6e74a9a 100644
--- a/gcc/lto/lto-lang.c
+++ b/gcc/lto/lto-lang.c
@@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "toplev.h"
#include "cgraph.h"
-#include "lto-streamer.h"
#include "cilk.h"
static tree lto_type_for_size (unsigned, int);
diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c
index 3f3ee95..087c6b1 100644
--- a/gcc/lto/lto-object.c
+++ b/gcc/lto/lto-object.c
@@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "lto.h"
#include "cgraph.h"
-#include "lto-streamer.h"
#include "lto-section-names.h"
#include "simple-object.h"
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c
index 1f25702..8e5b555 100644
--- a/gcc/lto/lto-partition.c
+++ b/gcc/lto/lto-partition.c
@@ -33,10 +33,11 @@ along with GCC; see the file COPYING3. If not see
#include "fold-const.h"
#include "internal-fn.h"
#include "cgraph.h"
+#include "target.h"
+#include "alloc-pool.h"
#include "lto-streamer.h"
#include "timevar.h"
#include "params.h"
-#include "alloc-pool.h"
#include "symbol-summary.h"
#include "ipa-prop.h"
#include "ipa-inline.h"
diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c
index 87c81dd..979579f 100644
--- a/gcc/lto/lto-symtab.c
+++ b/gcc/lto/lto-symtab.c
@@ -34,9 +34,10 @@ along with GCC; see the file COPYING3. If not see
#include "fold-const.h"
#include "internal-fn.h"
#include "cgraph.h"
+#include "target.h"
+#include "alloc-pool.h"
#include "lto-streamer.h"
#include "ipa-utils.h"
-#include "alloc-pool.h"
#include "symbol-summary.h"
#include "ipa-prop.h"
#include "ipa-inline.h"