Hi Jerry,
I had originally created this patch in 2018 and we did not get back to it. This results in more restrictive runtime behavior. I will go through the front-end code with another patch to catch this at compile time.Changelog and new test case. See attached patch. OK for trunk
Yes, OK. Can you also make a mention of this in https://gcc.gnu.org/gcc-15/changes.html ? Best regards Thomas