From: Andrew Macleod Date: Fri, 10 Jul 2015 21:05:42 +0000 (+0000) Subject: bb-reorder.c: Don't include obstack.h if backend.h is included. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d85afe92a654f846fed544c176f86c6225eaf1d;p=gcc.git bb-reorder.c: Don't include obstack.h if backend.h is included. * bb-reorder.c: Don't include obstack.h if backend.h is included. * cfg.c: Likewise. * cfgloopanal.c: Likewise. * cfgrtl.c: Likewise. * combine.c: Likewise. * cprop.c: Likewise. * dominance.c: Likewise. * fwprop.c: Likewise. * gcse.c: Likewise. * ira-emit.c: Likewise. * ira.c: Likewise. * loop-init.c: Likewise. * loop-invariant.c: Likewise. * loop-iv.c: Likewise. * loop-unroll.c: Likewise. * lower-subreg.c: Likewise. * postreload-gcse.c: Likewise. * postreload.c: Likewise. * regcprop.c: Likewise. * regrename.c: Likewise. * reload1.c: Likewise. * reorg.c: Likewise. * tree-ssa-pre.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree.c: Likewise. * web.c: Likewise. * config/aarch64/cortex-a57-fma-steering.c: Likewise. * config/alpha/alpha.c: Likewise. * config/arm/arm.c: Likewise. * config/avr/avr.c: Likewise. * config/darwin.c: Likewise. * config/fr30/fr30.c: Likewise. * config/frv/frv.c: Likewise. * config/ft32/ft32.c: Likewise. * config/m32c/m32c.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mep/mep.c: Likewise. * config/mn10300/mn10300.c: Likewise. * config/moxie/moxie.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/spu/spu.c: Likewise. * config/stormy16/stormy16.c: Likewise. From-SVN: r225689 --- diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 2af1d5441b4..e443d59dacc 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -92,7 +92,6 @@ #include "output.h" #include "target.h" #include "tm_p.h" -#include "obstack.h" #include "insn-config.h" #include "expmed.h" #include "dojump.h" diff --git a/gcc/cfg.c b/gcc/cfg.c index cbc351bb583..75def5da043 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -49,10 +49,9 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "obstack.h" +#include "backend.h" #include "alloc-pool.h" #include "alias.h" -#include "backend.h" #include "cfghooks.h" #include "tree.h" #include "hard-reg-set.h" diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c index 952a323bd4e..b1786500451 100644 --- a/gcc/cfgloopanal.c +++ b/gcc/cfgloopanal.c @@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see #include "backend.h" #include "predict.h" #include "rtl.h" -#include "obstack.h" #include "cfgloop.h" #include "tree.h" #include "flags.h" diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index c1dc7d35263..15ce8a7aed3 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -56,7 +56,6 @@ along with GCC; see the file COPYING3. If not see #include "except.h" #include "rtl-error.h" #include "tm_p.h" -#include "obstack.h" #include "insn-attr.h" #include "insn-config.h" #include "expmed.h" diff --git a/gcc/combine.c b/gcc/combine.c index 1ed49e36be8..1e5b198f4d9 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -111,7 +111,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-pass.h" #include "valtrack.h" #include "cgraph.h" -#include "obstack.h" #include "rtl-iter.h" #ifndef LOAD_EXTEND_OP diff --git a/gcc/config/aarch64/cortex-a57-fma-steering.c b/gcc/config/aarch64/cortex-a57-fma-steering.c index 3744a9ea2a4..45e96537f04 100644 --- a/gcc/config/aarch64/cortex-a57-fma-steering.c +++ b/gcc/config/aarch64/cortex-a57-fma-steering.c @@ -31,7 +31,6 @@ #include "insn-attr.h" #include "recog.h" #include "output.h" -#include "obstack.h" #include "target.h" #include "emit-rtl.h" #include "context.h" diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 9919dd9cdea..9d4e5bc8df9 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -50,7 +50,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-codes.h" #include "optabs.h" #include "reload.h" -#include "obstack.h" #include "except.h" #include "diagnostic-core.h" #include "tm_p.h" diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 4d60a32ed75..e1bc727c6a0 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -34,7 +34,6 @@ #include "stor-layout.h" #include "calls.h" #include "varasm.h" -#include "obstack.h" #include "regs.h" #include "insn-config.h" #include "conditions.h" diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 2434f58c947..3c477bc8eee 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -49,7 +49,6 @@ #include "expr.h" #include "c-family/c-common.h" #include "diagnostic-core.h" -#include "obstack.h" #include "recog.h" #include "optabs.h" #include "langhooks.h" diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 0c5004396fe..9160f155db1 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgbuild.h" #include "cfgcleanup.h" #include "debug.h" -#include "obstack.h" #include "internal-fn.h" #include "gimple-fold.h" #include "tree-eh.h" diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c index a347e9912e6..3308b55d9cf 100644 --- a/gcc/config/fr30/fr30.c +++ b/gcc/config/fr30/fr30.c @@ -46,7 +46,6 @@ #include "emit-rtl.h" #include "stmt.h" #include "expr.h" -#include "obstack.h" #include "except.h" #include "cfgrtl.h" #include "cfganal.h" diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 831f78a57c8..10394f3155a 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -46,7 +46,6 @@ along with GCC; see the file COPYING3. If not see #include "emit-rtl.h" #include "stmt.h" #include "expr.h" -#include "obstack.h" #include "except.h" #include "insn-codes.h" #include "optabs.h" diff --git a/gcc/config/ft32/ft32.c b/gcc/config/ft32/ft32.c index 3b04ea4cda1..50c721b924d 100644 --- a/gcc/config/ft32/ft32.c +++ b/gcc/config/ft32/ft32.c @@ -36,7 +36,6 @@ #include "recog.h" #include "reload.h" #include "diagnostic-core.h" -#include "obstack.h" #include "alias.h" #include "stor-layout.h" #include "calls.h" diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index b6493a4d33d..bdaf8b67e61 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -37,7 +37,6 @@ #include "recog.h" #include "reload.h" #include "diagnostic-core.h" -#include "obstack.h" #include "alias.h" #include "fold-const.h" #include "stor-layout.h" diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index d572d6a30f8..2422db792ab 100644 --- a/gcc/config/mcore/mcore.c +++ b/gcc/config/mcore/mcore.c @@ -39,7 +39,6 @@ #include "output.h" #include "insn-attr.h" #include "flags.h" -#include "obstack.h" #include "expmed.h" #include "dojump.h" #include "explow.h" diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 750de5a493a..ce936a505df 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-attr.h" #include "flags.h" #include "recog.h" -#include "obstack.h" #include "expmed.h" #include "dojump.h" #include "explow.h" diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 8c5986acf0f..fd527ab7f4b 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -46,7 +46,6 @@ #include "expr.h" #include "insn-codes.h" #include "optabs.h" -#include "obstack.h" #include "diagnostic-core.h" #include "tm_p.h" #include "tm-constrs.h" diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c index 1216153e5db..7744c2d90f4 100644 --- a/gcc/config/moxie/moxie.c +++ b/gcc/config/moxie/moxie.c @@ -36,7 +36,6 @@ #include "recog.h" #include "reload.h" #include "diagnostic-core.h" -#include "obstack.h" #include "alias.h" #include "stor-layout.h" #include "varasm.h" diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 912393f0c70..ed2dd84e81e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -33,7 +33,6 @@ #include "insn-attr.h" #include "flags.h" #include "recog.h" -#include "obstack.h" #include "alias.h" #include "fold-const.h" #include "stringpool.h" diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 9737ee2312b..99efb67344b 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -29,7 +29,6 @@ #include "insn-attr.h" #include "flags.h" #include "recog.h" -#include "obstack.h" #include "alias.h" #include "fold-const.h" #include "stringpool.h" diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index 3c9f0087f01..99412ab1c0e 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -36,7 +36,6 @@ #include "flags.h" #include "recog.h" #include "diagnostic-core.h" -#include "obstack.h" #include "alias.h" #include "fold-const.h" #include "stringpool.h" diff --git a/gcc/cprop.c b/gcc/cprop.c index f55a0b4f578..147ab1694ac 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -50,7 +50,6 @@ along with GCC; see the file COPYING3. If not see #include "alloc-pool.h" #include "cselib.h" #include "intl.h" -#include "obstack.h" #include "tree-pass.h" #include "dbgcnt.h" #include "target.h" diff --git a/gcc/dominance.c b/gcc/dominance.c index 1c692c80280..d8d87ca09d2 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -37,7 +37,6 @@ #include "coretypes.h" #include "backend.h" #include "rtl.h" -#include "obstack.h" #include "cfganal.h" #include "diagnostic-core.h" #include "alloc-pool.h" diff --git a/gcc/fwprop.c b/gcc/fwprop.c index 9316b34d745..16c79817614 100644 --- a/gcc/fwprop.c +++ b/gcc/fwprop.c @@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-config.h" #include "recog.h" #include "flags.h" -#include "obstack.h" #include "cfgrtl.h" #include "cfgcleanup.h" #include "target.h" diff --git a/gcc/gcse.c b/gcc/gcse.c index 8573b7df91d..4d95b4810f1 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -166,7 +166,6 @@ along with GCC; see the file COPYING3. If not see #include "alloc-pool.h" #include "cselib.h" #include "intl.h" -#include "obstack.h" #include "tree-pass.h" #include "dbgcnt.h" #include "target.h" diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c index 544f200cf75..b71ebcf8439 100644 --- a/gcc/ira-emit.c +++ b/gcc/ira-emit.c @@ -77,7 +77,6 @@ along with GCC; see the file COPYING3. If not see #include "tm_p.h" #include "target.h" #include "flags.h" -#include "obstack.h" #include "cfgrtl.h" #include "cfgbuild.h" #include "alias.h" diff --git a/gcc/ira.c b/gcc/ira.c index 8397b8fcd29..f5f09ab2198 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -375,7 +375,6 @@ along with GCC; see the file COPYING3. If not see #include "tm_p.h" #include "target.h" #include "flags.h" -#include "obstack.h" #include "cfgrtl.h" #include "cfgbuild.h" #include "cfgcleanup.h" diff --git a/gcc/loop-init.c b/gcc/loop-init.c index f7aea991d62..a9a3d6fa98a 100644 --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "df.h" #include "alias.h" #include "regs.h" -#include "obstack.h" #include "cfgcleanup.h" #include "cfgloop.h" #include "tree-pass.h" diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index 111cdfda1fa..1fdb84d8d69 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "rtl.h" #include "df.h" #include "tm_p.h" -#include "obstack.h" #include "cfgrtl.h" #include "cfgloop.h" #include "flags.h" diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 9130aa377f5..cafde4ab83b 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -54,7 +54,6 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "rtl.h" #include "df.h" -#include "obstack.h" #include "cfgloop.h" #include "flags.h" #include "alias.h" diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index e8158416a8d..913bd3c2614 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see #include "rtl.h" #include "alias.h" #include "tree.h" -#include "obstack.h" #include "profile.h" #include "cfgrtl.h" #include "cfgloop.h" diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c index 7b73ffd0ccc..93be1a90798 100644 --- a/gcc/lower-subreg.c +++ b/gcc/lower-subreg.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "tm_p.h" #include "flags.h" #include "insn-config.h" -#include "obstack.h" #include "cfgrtl.h" #include "cfgbuild.h" #include "recog.h" diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index 7ab9a0c4d89..136e84b3714 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -45,7 +45,6 @@ along with GCC; see the file COPYING3. If not see #include "expr.h" #include "except.h" #include "intl.h" -#include "obstack.h" #include "params.h" #include "target.h" #include "tree-pass.h" diff --git a/gcc/postreload.c b/gcc/postreload.c index c8d199958e4..a7eb55f293d 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "df.h" #include "tm_p.h" -#include "obstack.h" #include "insn-config.h" #include "flags.h" #include "alias.h" diff --git a/gcc/regcprop.c b/gcc/regcprop.c index 093ebdc72a2..46d0695898d 100644 --- a/gcc/regcprop.c +++ b/gcc/regcprop.c @@ -31,7 +31,6 @@ #include "recog.h" #include "flags.h" #include "diagnostic-core.h" -#include "obstack.h" #include "tree-pass.h" #include "rtl-iter.h" #include "emit-rtl.h" diff --git a/gcc/regrename.c b/gcc/regrename.c index 57c3ad26b9b..c328c1b916c 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -33,7 +33,6 @@ #include "output.h" #include "recog.h" #include "flags.h" -#include "obstack.h" #include "tree-pass.h" #include "target.h" #include "emit-rtl.h" diff --git a/gcc/reload1.c b/gcc/reload1.c index 1d199ca45c8..cbfcae7adef 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see #include "rtl-error.h" #include "tm_p.h" -#include "obstack.h" #include "insn-config.h" #include "flags.h" #include "alias.h" diff --git a/gcc/reorg.c b/gcc/reorg.c index bdeabcbdc16..a1a9ff510d3 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -124,7 +124,6 @@ along with GCC; see the file COPYING3. If not see #include "conditions.h" #include "regs.h" #include "recog.h" -#include "obstack.h" #include "insn-attr.h" #include "resource.h" #include "except.h" diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 5c78c43f38a..5210eed25e1 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -56,7 +56,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "tree-iterator.h" #include "alloc-pool.h" -#include "obstack.h" #include "tree-pass.h" #include "langhooks.h" #include "cfgloop.h" diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 1cc6d55721e..a38384cc9f0 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -26,7 +26,6 @@ #include "gimple.h" #include "rtl.h" #include "ssa.h" -#include "obstack.h" #include "flags.h" #include "alias.h" #include "fold-const.h" diff --git a/gcc/tree.c b/gcc/tree.c index 8e6c465ac31..51a073953fd 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "attribs.h" #include "varasm.h" #include "tm_p.h" -#include "obstack.h" #include "toplev.h" /* get_random_seed */ #include "filenames.h" #include "output.h" diff --git a/gcc/web.c b/gcc/web.c index 0ea2752b22c..839b03e94a3 100644 --- a/gcc/web.c +++ b/gcc/web.c @@ -42,7 +42,6 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic-core.h" #include "flags.h" -#include "obstack.h" #include "insn-config.h" #include "recog.h" #include "tree-pass.h"