On 3/13/19 10:08 PM, Jason Merrill wrote:
On 3/11/19 6:21 PM, Jakub Jelinek wrote:
Hi!

The following testcase ICEs since my recent cxx_eval_loop_expr changes.
The problem is that the Forget saved values of SAVE_EXPRs. inside of the
loop can remove SAVE_EXPRs from new_ctx.values and if that is the last
iteration, we can also do the loop at the end of function (which has been
added there mainly to handle cases where the main loop breaks earlier)
and new_ctx.values->remove ICEs because *iter is already not in the table.

It shouldn't ICE, remove_elt_with_hash is documented to do nothing if the element is not in the table.

Ah, now I see you sent a follow-up, reading that now.

Jason

Reply via email to