From 1b68a156d636b8a67e13ac721718c1e1f213f969 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 12 Jul 2017 15:43:40 -0600 Subject: [PATCH] riscv.c: Remove unnecessary includes. * config/riscv/riscv.c: Remove unnecessary includes. Reorder remaining includes slightly. * config/riscv/riscv-builtins.c: Include profile-count.h. From-SVN: r250162 --- gcc/ChangeLog | 6 ++++ gcc/config/riscv/riscv-builtins.c | 1 + gcc/config/riscv/riscv.c | 60 ++----------------------------- 3 files changed, 9 insertions(+), 58 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bdf6e45d849..f9350a5183e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-07-12 Jeff Law + + * config/riscv/riscv.c: Remove unnecessary includes. Reorder + remaining includes slightly. + * config/riscv/riscv-builtins.c: Include profile-count.h. + 2017-07-12 Georg-Johann Lay PR target/79883 diff --git a/gcc/config/riscv/riscv-builtins.c b/gcc/config/riscv/riscv-builtins.c index 626a6a33f99..1311fee6f70 100644 --- a/gcc/config/riscv/riscv-builtins.c +++ b/gcc/config/riscv/riscv-builtins.c @@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see #include "gimple-expr.h" #include "memmodel.h" #include "expmed.h" +#include "profile-count.h" #include "optabs.h" #include "recog.h" #include "diagnostic-core.h" diff --git a/gcc/config/riscv/riscv.c b/gcc/config/riscv/riscv.c index 220de4b2cba..57b2edbcb43 100644 --- a/gcc/config/riscv/riscv.c +++ b/gcc/config/riscv/riscv.c @@ -25,86 +25,30 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "rtl.h" #include "regs.h" -#include "hard-reg-set.h" #include "insn-config.h" -#include "conditions.h" #include "insn-attr.h" #include "recog.h" #include "output.h" -#include "hash-set.h" -#include "machmode.h" -#include "vec.h" -#include "double-int.h" -#include "input.h" #include "alias.h" -#include "symtab.h" -#include "wide-int.h" -#include "inchash.h" #include "tree.h" -#include "fold-const.h" #include "varasm.h" -#include "stringpool.h" #include "stor-layout.h" #include "calls.h" #include "function.h" -#include "hashtab.h" -#include "flags.h" -#include "statistics.h" -#include "real.h" -#include "fixed-value.h" -#include "expmed.h" -#include "dojump.h" #include "explow.h" #include "memmodel.h" #include "emit-rtl.h" -#include "stmt.h" -#include "expr.h" -#include "insn-codes.h" -#include "optabs.h" -#include "libfuncs.h" #include "reload.h" #include "tm_p.h" -#include "ggc.h" -#include "gstab.h" -#include "hash-table.h" -#include "debug.h" #include "target.h" #include "target-def.h" -#include "common/common-target.h" -#include "langhooks.h" -#include "dominance.h" -#include "profile-count.h" -#include "cfg.h" -#include "cfgrtl.h" -#include "cfganal.h" -#include "lcm.h" -#include "cfgbuild.h" -#include "cfgcleanup.h" -#include "predict.h" #include "basic-block.h" +#include "expr.h" +#include "optabs.h" #include "bitmap.h" -#include "regset.h" #include "df.h" -#include "sched-int.h" -#include "tree-ssa-alias.h" -#include "internal-fn.h" -#include "gimple-fold.h" -#include "tree-eh.h" -#include "gimple-expr.h" -#include "is-a.h" -#include "gimple.h" -#include "gimplify.h" #include "diagnostic.h" -#include "target-globals.h" -#include "opts.h" -#include "tree-pass.h" -#include "context.h" -#include "hash-map.h" -#include "plugin-api.h" -#include "ipa-ref.h" -#include "cgraph.h" #include "builtins.h" -#include "rtl-iter.h" /* True if X is an UNSPEC wrapper around a SYMBOL_REF or LABEL_REF. */ #define UNSPEC_ADDRESS_P(X) \ -- 2.30.2