summaryrefslogtreecommitdiffstats
path: root/libcpp/ChangeLog
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-28 19:57:56 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-28 19:57:56 +0000
commitcde9343a06bdd373b8ab9502afe86af5b6e47f2a (patch)
treec42d67f1e6f67c4af0d7e746ecbc6e2602a3254d /libcpp/ChangeLog
parente23df248e260ac9d2732f4cc942c8e932ed96199 (diff)
downloadppe42-gcc-cde9343a06bdd373b8ab9502afe86af5b6e47f2a.tar.gz
ppe42-gcc-cde9343a06bdd373b8ab9502afe86af5b6e47f2a.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r--libcpp/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 7a94c90b6d3..934db6a08cd 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
OpenPOWER on IntegriCloud