This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.)
- From: Andreas Jaeger <aj at suse dot de>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Nov 2002 07:32:03 +0100
- Subject: Re: [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.)
- References: <Pine.BSF.4.44.0211182022110.61397-100000@dair.pair.com>
With valgrind from CVS, there's one problem with your patch:
/cvs/gcc/gcc/cppfiles.c: In function `read_include_file':
/cvs/gcc/gcc/cppfiles.c:428: warning: implicit declaration of function `VALGRIND_DISCARD'
/cvs/gcc/gcc/cppfiles.c:428: warning: implicit declaration of function `VALGRIND_MAKE_READABLE'
/cvs/gcc/gcc/cppfiles.c: In function `purge_cache':
/cvs/gcc/gcc/cppfiles.c:516: warning: function `VALGRIND_DISCARD' was previously declared within a block
/cvs/gcc/gcc/cppfiles.c:516: warning: implicit declaration of function `VALGRIND_MAKE_NOACCESS'
I added an include of <memcheck.h> to cppfiles.c to fix this,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj