Re: [C++ PATCH] Fix up cp-gimplify.c ICE (PR c++/93046)

2020-01-04 Thread Jason Merrill
On 1/3/20 6:37 PM, Jakub Jelinek wrote: On the following testcase since the split_nonconstant_init move on the COND_EXPR with omitted middle-end operand we end up with the operator bool called on a TARGET_EXPR in the first operand and the same TARGET_EXPR appearing in INIT_EXPR in the second oper

[C++ PATCH] Fix up cp-gimplify.c ICE (PR c++/93046)

2020-01-03 Thread Jakub Jelinek
Hi! On the following testcase since the split_nonconstant_init move on the COND_EXPR with omitted middle-end operand we end up with the operator bool called on a TARGET_EXPR in the first operand and the same TARGET_EXPR appearing in INIT_EXPR in the second operand. cp_gimplify_init_expr ICEs, beca