diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-06-25 17:50:01 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-06-25 17:50:01 +0000 |
commit | 994c5d85429afb040d3e178c6647e8f91e6092a7 (patch) | |
tree | 049af728b0b52c3a89ace04f51b878a959d76adf /gcc/config | |
parent | 4bccb39ebaecc3c91ea8aee58dc0c71d5a7e3b95 (diff) | |
download | gcc-994c5d85429afb040d3e178c6647e8f91e6092a7.zip gcc-994c5d85429afb040d3e178c6647e8f91e6092a7.tar.gz gcc-994c5d85429afb040d3e178c6647e8f91e6092a7.tar.bz2 |
aarch64.c, [...]: Add comment above target-def.h include.
gcc/
* config/aarch64/aarch64.c, config/alpha/alpha.c,
config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c,
config/c6x/c6x.c, config/cr16/cr16.c, config/cris/cris.c,
config/fr30/fr30.c, config/frv/frv.c, config/h8300/h8300.c,
config/i386/i386.c, config/ia64/ia64.c, config/iq2000/iq2000.c,
config/lm32/lm32.c, config/m32c/m32c.c, config/m32r/m32r.c,
config/m68k/m68k.c, config/mcore/mcore.c, config/mep/mep.c,
config/microblaze/microblaze.c, config/mips/mips.c,
config/mmix/mmix.c, config/mn10300/mn10300.c,
config/moxie/moxie.c, config/msp430/msp430.c,
config/nds32/nds32.c, config/nios2/nios2.c, config/nvptx/nvptx.c,
config/pa/pa.c, config/pdp11/pdp11.c, config/rl78/rl78.c,
config/rs6000/rs6000.c, config/rx/rx.c, config/s390/s390.c,
config/sh/sh.c, config/sparc/sparc.c, config/spu/spu.c,
config/stormy16/stormy16.c, config/tilegx/tilegx.c,
config/tilepro/tilepro.c, config/v850/v850.c, config/vax/vax.c,
config/visium/visium.c, config/xtensa/xtensa.c: Add comment above
target-def.h include.
* config/ft32/ft32.c: Likewise. Fix misapplied hunk.
From-SVN: r224980
Diffstat (limited to 'gcc/config')
46 files changed, 48 insertions, 2 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index d9abff2..d8e03b7 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -82,6 +82,7 @@ #include "sched-int.h" #include "cortex-a57-fma-steering.h" +/* This file should be included last. */ #include "target-def.h" /* Defined for convenience. */ diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index c7e575a..7f0c6a7 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -89,6 +89,7 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" /* Specify which cpu to schedule for. */ diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 7f613f4..b5b9fc1 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -85,6 +85,7 @@ #include "sched-int.h" #include "tree.h" +/* This file should be included last. */ #include "target-def.h" /* Forward definitions of types. */ diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 7712b78..c002377d 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -71,6 +71,7 @@ #include "context.h" #include "tree-pass.h" +/* This file should be included last. */ #include "target-def.h" /* Maximal allowed offset for an address in the LD command */ diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 653a670..7ddc58e 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -76,6 +76,7 @@ #include "dumpfile.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* A C structure for machine-specific, per-function data. diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c index 20d0fe3..eb697020 100644 --- a/gcc/config/c6x/c6x.c +++ b/gcc/config/c6x/c6x.c @@ -79,6 +79,7 @@ #include "gimple-expr.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Table of supported architecture variants. */ diff --git a/gcc/config/cr16/cr16.c b/gcc/config/cr16/cr16.c index 7365332..cb13545 100644 --- a/gcc/config/cr16/cr16.c +++ b/gcc/config/cr16/cr16.c @@ -63,6 +63,7 @@ #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Definitions. */ diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index a3bf00b..d70e4d4 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -70,6 +70,7 @@ along with GCC; see the file COPYING3. If not see #include "cgraph.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Usable when we have an amount to add or subtract, and want the diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c index c0da2ba..2895598 100644 --- a/gcc/config/fr30/fr30.c +++ b/gcc/config/fr30/fr30.c @@ -64,6 +64,7 @@ #include "target.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /*}}}*/ diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 3e66286..23b5f3c 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -71,6 +71,7 @@ along with GCC; see the file COPYING3. If not see #include "ifcvt.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" #ifndef FRV_INLINE diff --git a/gcc/config/ft32/ft32.c b/gcc/config/ft32/ft32.c index f9ca2b5..4adf39b 100644 --- a/gcc/config/ft32/ft32.c +++ b/gcc/config/ft32/ft32.c @@ -60,6 +60,9 @@ #include "builtins.h" #include "emit-rtl.h" +/* This file should be included last. */ +#include "target-def.h" + #include <stdint.h> #define LOSE_AND_RETURN(msgid, x) \ @@ -370,8 +373,6 @@ ft32_init_machine_status (void) return ggc_cleared_alloc < machine_function > (); } -#include "target-def.h" - /* The TARGET_OPTION_OVERRIDE worker. All this curently does is set init_machine_status. */ diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 343f955..0f11511 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -65,6 +65,7 @@ along with GCC; see the file COPYING3. If not see #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Classifies a h8300_src_operand or h8300_dst_operand. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 001de05..0145c78 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -100,6 +100,7 @@ along with GCC; see the file COPYING3. If not see #include "tree-chkp.h" #include "rtl-chkp.h" +/* This file should be included last. */ #include "target-def.h" static rtx legitimize_dllimport_symbol (rtx, bool); diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index e956144..47b4469 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -86,6 +86,7 @@ along with GCC; see the file COPYING3. If not see #include "dumpfile.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* This is used for communication between ASM_OUTPUT_LABEL and diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c index df29089..0b8d052 100644 --- a/gcc/config/iq2000/iq2000.c +++ b/gcc/config/iq2000/iq2000.c @@ -65,6 +65,7 @@ along with GCC; see the file COPYING3. If not see #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Enumeration for all of the relational tests, so that we can build diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c index 0c4fc9a..a15bcfd 100644 --- a/gcc/config/lm32/lm32.c +++ b/gcc/config/lm32/lm32.c @@ -67,6 +67,7 @@ #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" struct lm32_frame_info diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index b9e041e..2b9aae3 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -74,6 +74,7 @@ #include "tm-constrs.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Prototypes */ diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 27c742e..cabf8fb 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -62,6 +62,7 @@ #include "opts.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Array of valid operand punctuation characters. */ diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index e1558ef..cf67e75 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -67,6 +67,7 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" enum reg_class regno_reg_class[] = diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index 2b284e2..f25c0d1 100644 --- a/gcc/config/mcore/mcore.c +++ b/gcc/config/mcore/mcore.c @@ -63,6 +63,7 @@ #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* For dumping information about frame sizes. */ diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index dd92dad..9a568795 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -78,6 +78,7 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" /* Structure of this file: diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c index 2c0919d..4b96dd8 100644 --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -69,6 +69,7 @@ #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" #define MICROBLAZE_VERSION_COMPARE(VA,VB) strcasecmp (VA, VB) diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index b3d16c6..cc675ea 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -88,6 +88,7 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" /* True if X is an UNSPEC wrapper around a SYMBOL_REF or LABEL_REF. */ diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 163c2e9..ee2da08 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -60,6 +60,7 @@ along with GCC; see the file COPYING3. If not see #include "tm-constrs.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* First some local helper definitions. */ diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 44d2da4..49bf772 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -67,6 +67,7 @@ #include "dumpfile.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* This is used in the am33_2.0-linux-gnu port, in which global symbol diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c index 14ab63a..e791829 100644 --- a/gcc/config/moxie/moxie.c +++ b/gcc/config/moxie/moxie.c @@ -66,6 +66,7 @@ #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" #define LOSE_AND_RETURN(msgid, x) \ diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index 2a42c38..e83efb6 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c @@ -70,6 +70,7 @@ #include "opts.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c index c019872..b58e4bc 100644 --- a/gcc/config/nds32/nds32.c +++ b/gcc/config/nds32/nds32.c @@ -67,6 +67,7 @@ #include "langhooks.h" /* For add_builtin_function(). */ #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* ------------------------------------------------------------------------ */ diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index 567c921..0e9c40b 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -68,6 +68,7 @@ #include "stor-layout.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Forward function declarations. */ diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index c69ddfc..43f197f 100644 --- a/gcc/config/nvptx/nvptx.c +++ b/gcc/config/nvptx/nvptx.c @@ -61,6 +61,7 @@ #include "df.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Record the function decls we've written, and the libfuncs and function diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 25b1d36..6cc3c2a 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -69,6 +69,7 @@ along with GCC; see the file COPYING3. If not see #include "opts.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Return nonzero if there is a bypass for the output of diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c index 4788b50..f0b1b8b 100644 --- a/gcc/config/pdp11/pdp11.c +++ b/gcc/config/pdp11/pdp11.c @@ -61,6 +61,7 @@ along with GCC; see the file COPYING3. If not see #include "dbxout.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* this is the current value returned by the macro FIRST_PARM_OFFSET diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 8cf4974..680e4db 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -74,6 +74,7 @@ #include "builtins.h" #include "stringpool.h" +/* This file should be included last. */ #include "target-def.h" static inline bool is_interrupt_func (const_tree decl); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 73fb731..ccfc0a8 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -100,6 +100,7 @@ #include "gstab.h" /* for N_SLINE */ #endif +/* This file should be included last. */ #include "target-def.h" #ifndef TARGET_NO_PROTOTYPE diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 5cadd3a..9d91820 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -74,6 +74,7 @@ #include "cgraph.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" static unsigned int rx_gp_base_regnum_val = INVALID_REGNUM; diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 2f2c436..1de8d07 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -87,6 +87,7 @@ along with GCC; see the file COPYING3. If not see #include "ipa-ref.h" #include "cgraph.h" +/* This file should be included last. */ #include "target-def.h" /* Define the specific costs for a given cpu. */ diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 5c0c6a1..0139095 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -87,6 +87,7 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" int code_for_indirect_jump_scratch = CODE_FOR_indirect_jump_scratch; diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 2163201c..2556eec 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -82,6 +82,7 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" /* Processor costs */ diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index d89c6cc..97690e3 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -79,6 +79,7 @@ #include "builtins.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" /* Builtin types, data and prototypes. */ diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index 761bc4e..142498d 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -75,6 +75,7 @@ #include "reload.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" static rtx emit_addhi3_postreload (rtx, rtx, rtx); diff --git a/gcc/config/tilegx/tilegx.c b/gcc/config/tilegx/tilegx.c index 86ad324..1f285e0 100644 --- a/gcc/config/tilegx/tilegx.c +++ b/gcc/config/tilegx/tilegx.c @@ -76,6 +76,7 @@ #include "diagnostic.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* SYMBOL_REF for GOT */ diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c index 81c9395..9244739 100644 --- a/gcc/config/tilepro/tilepro.c +++ b/gcc/config/tilepro/tilepro.c @@ -77,6 +77,7 @@ #include "diagnostic.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* SYMBOL_REF for GOT */ diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 851986f..9681165 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -61,6 +61,7 @@ #include "opts.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" #ifndef streq diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c index 8880d64..08706f7 100644 --- a/gcc/config/vax/vax.c +++ b/gcc/config/vax/vax.c @@ -63,6 +63,7 @@ along with GCC; see the file COPYING3. If not see #include "target.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" static void vax_option_override (void); diff --git a/gcc/config/visium/visium.c b/gcc/config/visium/visium.c index fcf4359..135f74d 100644 --- a/gcc/config/visium/visium.c +++ b/gcc/config/visium/visium.c @@ -67,6 +67,7 @@ #include "context.h" #include "builtins.h" +/* This file should be included last. */ #include "target-def.h" /* Machine specific function data. */ diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index 35fc423..cacb79e 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -77,6 +77,7 @@ along with GCC; see the file COPYING3. If not see #include "hw-doloop.h" #include "rtl-iter.h" +/* This file should be included last. */ #include "target-def.h" /* Enumeration for all of the relational tests, so that we can build |