Re: [PATCH] c++: Add unsequenced C++ testcase

2024-08-02 Thread Jason Merrill
On 8/1/24 2:43 PM, Jakub Jelinek wrote: Hi! This is the testcase I wrote originally and which on top of the https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659154.html patch didn't behave the way I wanted (no warning and no optimizations of [[unsequenced]] function templates which don't ha

[PATCH] c++: Add unsequenced C++ testcase

2024-08-01 Thread Jakub Jelinek
Hi! This is the testcase I wrote originally and which on top of the https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659154.html patch didn't behave the way I wanted (no warning and no optimizations of [[unsequenced]] function templates which don't have pointer/reference arguments. Posting th