On 06/23/2015 12:29 PM, Richard Sandiford wrote:
This moves target-def.h includes to the end of the include list, so that
the file sees the same header files as the targetm initialisation itself.
I've left a gap to emphasise that the placement is deliberate.

This is a prerequisite for the patch I'm about to post.  It probably doesn't
make much sense otherwise.

Bootstrapped & regression-tested on x86_64-linux-gnu.  Also tested with
config-list.mk.  OK to install if the later patch is?

Thanks,
Richard


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/ft32/ft32.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: Move target-def.h
        includes to end.
I'd suggest a comment before the include indicating why we really want it at the end.

With that change, this is OK if the latter patches get approved.

jeff

Reply via email to