Re: [PATCH] c++: Fix ICE on constexpr placement new [PR115754]

2024-07-02 Thread Jason Merrill
On 7/2/24 3:54 PM, Jakub Jelinek wrote: Hi! C++26 is making in P2747R2 paper placement new constexpr. While working on a patch for that, I've noticed we ICE starting with GCC 14 on the following testcase. The problem is that e.g. for the void * to sometype * casts checks, we really assume the ca

[PATCH] c++: Fix ICE on constexpr placement new [PR115754]

2024-07-02 Thread Jakub Jelinek
Hi! C++26 is making in P2747R2 paper placement new constexpr. While working on a patch for that, I've noticed we ICE starting with GCC 14 on the following testcase. The problem is that e.g. for the void * to sometype * casts checks, we really assume the casts have their operand constant evaluated