Commit 268f5cc7 authored by John van Groningen's avatar John van Groningen
Browse files

prevent crash for tail recursive modulo cons function with overloaded case

parent 06d98209
......@@ -2720,6 +2720,8 @@ struct saved_node_id_ref_counts* save_rhs_node_id_ref_counts
NodeIdRefCountListP node_id_ref_count_elem_p;
if (case_node_p->node_kind==OverloadedCaseNode)
for_l (node_id_ref_count_elem_p,case_node_p->node_node_id_ref_counts,nrcl_next){
struct saved_case_node_id_ref_counts *new_scnirc_p;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment