This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix up _cpp_find_file


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> 2013-02-27  Jakub Jelinek  <jakub@redhat.com>

Jakub> 	* files.c (_cpp_find_file): If returning early, before storing
Jakub> 	something to *hash_slot and *hash_slot is NULL, call htab_clear_slot
Jakub> 	on it.  Access *hash_slot using void * type rather than
Jakub> 	struct file_hash_entry * to avoid aliasing issues.

This is ok.  Thanks.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]