Re: [pushed] c++: Fix consteval operator handling.

2020-06-17 Thread Iain Sandoe via Gcc-patches
Hi Jason Jason Merrill via Gcc-patches wrote: We were crashing trying to find the CALL_EXPR in the result of a call to a consteval operator. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: * call.c (build_new_op_1): Don't look for a CALL_EXPR when I suspect that t

[pushed] c++: Fix consteval operator handling.

2020-06-17 Thread Jason Merrill via Gcc-patches
We were crashing trying to find the CALL_EXPR in the result of a call to a consteval operator. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: * call.c (build_new_op_1): Don't look for a CALL_EXPR when calling a consteval function. gcc/testsuite/ChangeLog: