Re: [C++ PATCH] Fix switch genericization ICE (PR c++/88984)

2019-01-23 Thread Jason Merrill
On 1/22/19 5:25 PM, Jakub Jelinek wrote: Hi! The following testcase ICEs, because we assert that if during parsing we haven't found any break; stmts in SWITCH_STMT_BODY, the switch statement break label will not be used. It is used in this case though, because while during parsing we expect

[C++ PATCH] Fix switch genericization ICE (PR c++/88984)

2019-01-22 Thread Jakub Jelinek
Hi! The following testcase ICEs, because we assert that if during parsing we haven't found any break; stmts in SWITCH_STMT_BODY, the switch statement break label will not be used. It is used in this case though, because while during parsing we expect break stmts only from switch body to go to