]> git.ipfire.org Git - thirdparty/gcc.git/commit
m2rte.cc reduce include headers and correct build dependencies.
authorGaius Mulley <gaius.mulley@southwales.ac.uk>
Mon, 16 May 2022 11:20:15 +0000 (12:20 +0100)
committerGaius Mulley <gaius.mulley@southwales.ac.uk>
Mon, 16 May 2022 11:20:15 +0000 (12:20 +0100)
commit67ce904a2e98c1ad34298340193cbd8c3fedb40f
tree6e16c14f13e220d17b06020b1363486ddec9a6b5
parentf5a02fa669b790ab06868bbf6514d566464e69bb
m2rte.cc reduce include headers and correct build dependencies.

2022-05-16   Gaius Mulley   <gaius.mulley@southwales.ac.uk>

This patch corrects the dependencies to build m2rte.so in
Make-lang.in.  It also reduces the number of headers used in
m2rte.cc.

gcc/m2/ChangeLog:

* plugin/m2rte.cc (alias.h, predict.h, tm.h,
stringpool.h, toplev.h, basic-block.h, hash-table.h,
vec.h, ggc.h, basic-block.h, tree-ssa-alias.h,
internal-fn.h, gimple-fold.h, tree-eh.h, gimple-expr.h,
is-a.h):  Header file includes removed.
(plugin/m2rte$(exeext).so) Make dependent upon
$(GCC_HEADER_DEPENDENCIES_FOR_M2) and insn-addr-common.h.

Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
gcc/m2/Make-lang.in
gcc/m2/plugin/m2rte.cc