https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121647

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is not valid C++26.
https://eel.is/c++draft/stmt.expand#2
says that expansion stmt body is control-flow-limited, and
https://eel.is/c++draft/stmt.label#3
explains that.
Note, expansion stmt body can't contain even any kind of named labels:
https://eel.is/c++draft/stmt.label#4
If clang branch accepts it, either it doesn't implement the final wording or it
is buggy.

Reply via email to