https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- It isn't well-defined code though. It's undefined, as you yourself said. It can't be both.
redi at gcc dot gnu.org via Gcc-bugs Tue, 22 Feb 2022 06:35:43 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- It isn't well-defined code though. It's undefined, as you yourself said. It can't be both.