]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
files.c (_cpp_find_file): If returning early...
authorJakub Jelinek <jakub@redhat.com>
Thu, 28 Feb 2013 19:57:56 +0000 (20:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 28 Feb 2013 19:57:56 +0000 (20:57 +0100)
commit15fd8332c06b873289196e91bdc3fe9723648ca9
treec42d67f1e6f67c4af0d7e746ecbc6e2602a3254d
parent4c37612689003f4df7b6a8561a16f7649f27462f
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
libcpp/ChangeLog
libcpp/files.c