diff options
author | Martin Liska <mliska@suse.cz> | 2016-05-20 10:03:25 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-05-20 08:03:25 +0000 |
commit | ceb17928e5d1d5f89636699f13cc3bde6e19644c (patch) | |
tree | a531025dac09550010a1767b26770c5054b3711f /libcpp/lex.c | |
parent | 2fe676f6df069ed1e33a6691c9062c9c56910bd0 (diff) | |
download | gcc-ceb17928e5d1d5f89636699f13cc3bde6e19644c.zip gcc-ceb17928e5d1d5f89636699f13cc3bde6e19644c.tar.gz gcc-ceb17928e5d1d5f89636699f13cc3bde6e19644c.tar.bz2 |
Change ENABLE_VALGRIND_CHECKING to
* config.in: Regenerated.
* configure: Likewise.
* configure.ac: Handle --enable-valgrind-annotations.
* lex.c (new_buff): Use ENABLE_VALGRIND_ANNOTATIONS instead
of ENABLE_VALGRIND_CHECKING.
(_cpp_free_buff): Likewise.
From-SVN: r236496
Diffstat (limited to 'libcpp/lex.c')
-rw-r--r-- | libcpp/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/lex.c b/libcpp/lex.c index e5a0397..236418d 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -3147,7 +3147,7 @@ new_buff (size_t len) len = MIN_BUFF_SIZE; len = CPP_ALIGN (len); -#ifdef ENABLE_VALGRIND_CHECKING +#ifdef ENABLE_VALGRIND_ANNOTATIONS /* Valgrind warns about uses of interior pointers, so put _cpp_buff struct first. */ size_t slen = CPP_ALIGN2 (sizeof (_cpp_buff), 2 * DEFAULT_ALIGNMENT); @@ -3244,7 +3244,7 @@ _cpp_free_buff (_cpp_buff *buff) for (; buff; buff = next) { next = buff->next; -#ifdef ENABLE_VALGRIND_CHECKING +#ifdef ENABLE_VALGRIND_ANNOTATIONS free (buff); #else free (buff->base); |