Re: [PATCH] c++: Fix non-constant TARGET_EXPR constexpr handing [PR93998]

2020-03-03 Thread Jason Merrill
On 3/3/20 8:03 AM, Jakub Jelinek wrote: Hi! We ICE on the following testcase since I've added the SAVE_EXPR-like constexpr handling where the TARGET_EXPR initializer (and cleanup) is evaluated only once (because it might have side-effects like new or delete expressions in it). The problem is if

[PATCH] c++: Fix non-constant TARGET_EXPR constexpr handing [PR93998]

2020-03-03 Thread Jakub Jelinek
Hi! We ICE on the following testcase since I've added the SAVE_EXPR-like constexpr handling where the TARGET_EXPR initializer (and cleanup) is evaluated only once (because it might have side-effects like new or delete expressions in it). The problem is if the TARGET_EXPR (but I guess in theory SAV