aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-04-28 14:01:40 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-04-28 14:01:40 +0000
commit279a935ff4bc1df86e090f8e28f15d70384514eb (patch)
treea5bc6249aa24285c664840fc0a7c18d7aea148b9 /gcc/system.h
parent07357f2f5a81e008b78af738e5e0050d850425a8 (diff)
downloadgcc-279a935ff4bc1df86e090f8e28f15d70384514eb.zip
gcc-279a935ff4bc1df86e090f8e28f15d70384514eb.tar.gz
gcc-279a935ff4bc1df86e090f8e28f15d70384514eb.tar.bz2
configure.ac: Do valgrind header checks unconditionally.
2014-04-28 Richard Biener <rguenther@suse.de> * configure.ac: Do valgrind header checks unconditionally. Add --enable-valgrind-annotations. * system.h: Guard valgrind header inclusion with ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING. * alloc-pool.c (pool_alloc, pool_free): Use ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING to guard possibly dead code. * config.in: Regenerated. * configure: Likewise. From-SVN: r209861
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 42bc509..892271f 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -1025,7 +1025,7 @@ helper_const_non_const_cast (const char *p)
#endif
#endif
-#ifdef ENABLE_VALGRIND_CHECKING
+#ifdef ENABLE_VALGRIND_ANNOTATIONS
# ifdef HAVE_VALGRIND_MEMCHECK_H
# include <valgrind/memcheck.h>
# elif defined HAVE_MEMCHECK_H