* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
commit0fa54ff10f530f6de61a405566b2b61c423ef0d8
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Nov 2002 19:49:53 +0000 (20 19:49 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Nov 2002 19:49:53 +0000 (20 19:49 +0000)
tree9eafda11516ee784c63faf8b744d44153d2c5e6c
parent13de7ba99d7d3ecb0e658e7b1294016dfc14a1ff
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59309 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/config.in
gcc/configure
gcc/configure.in
gcc/cppfiles.c
gcc/gcc.c