https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61598

Trevor Saunders <tsaunders at mozilla dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tsaunders at mozilla dot com

--- Comment #2 from Trevor Saunders <tsaunders at mozilla dot com> ---
So we went from find_slot taking a const uninon tree_node *& to taking a union
tree_node * const& I tend to think that the later is more "correct" since the
type of thing in the hash table and hence the thing that is const is a union
tree_node *.  Further the result of find_slot is a tree_node ** which is not
const.

So I think the appropriate solution is to just const_cast to tree, but a sanity
check of that would be nice.

Reply via email to