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][C++] Fix PR32609, ICE during htab_clear_slot


Richard Guenther wrote:
> This fixes PR32609 by using htab_remove_elt to remove the element from
> the hashtable after recursing.  Using htab_clear_slot without re-looking 
> up the element is not safe with intermediate hash table 
> insertions/removals.

Thank you for cleaning up my mess!

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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