diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-02-28 20:57:56 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-02-28 20:57:56 +0100 |
commit | 15fd8332c06b873289196e91bdc3fe9723648ca9 (patch) | |
tree | c42d67f1e6f67c4af0d7e746ecbc6e2602a3254d /libcpp/ChangeLog | |
parent | 4c37612689003f4df7b6a8561a16f7649f27462f (diff) | |
download | gcc-15fd8332c06b873289196e91bdc3fe9723648ca9.zip gcc-15fd8332c06b873289196e91bdc3fe9723648ca9.tar.gz gcc-15fd8332c06b873289196e91bdc3fe9723648ca9.tar.bz2 |
files.c (_cpp_find_file): If returning early...
* files.c (_cpp_find_file): If returning early, before storing
something to *hash_slot and *hash_slot is NULL, call htab_clear_slot
on it. Access *hash_slot using void * type rather than
struct file_hash_entry * to avoid aliasing issues.
From-SVN: r196356
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r-- | libcpp/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 7a94c90..934db6a0 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,5 +1,10 @@ 2013-02-28 Jakub Jelinek <jakub@redhat.com> + * files.c (_cpp_find_file): If returning early, before storing + something to *hash_slot and *hash_slot is NULL, call htab_clear_slot + on it. Access *hash_slot using void * type rather than + struct file_hash_entry * to avoid aliasing issues. + * configure.ac: Don't define ENABLE_CHECKING whenever --enable-checking is seen, instead use similar --enable-checking=yes vs. --enable-checking=release default as gcc/ subdir has and |