Makefile.in (RUN_GEN, [...]): New variables.
authorHans-Peter Nilsson <hp@bitrange.com>
Wed, 20 Nov 2002 19:49:53 +0000 (19:49 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 20 Nov 2002 19:49:53 +0000 (19:49 +0000)
commit414d23ae18deaae675fe45cd997e71ede2f6af94
tree9eafda11516ee784c63faf8b744d44153d2c5e6c
parent3ba2436a67f611be43fc02a1f400a69a95088695
Makefile.in (RUN_GEN, [...]): New variables.

* 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.

From-SVN: r59309
gcc/ChangeLog
gcc/Makefile.in
gcc/config.in
gcc/configure
gcc/configure.in
gcc/cppfiles.c
gcc/gcc.c