https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118733
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- And reporting an error is certainly preferable to other forms of undefined behaviour, such as data corruption or crashing!
redi at gcc dot gnu.org via Gcc-bugs Mon, 03 Feb 2025 09:46:05 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118733
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- And reporting an error is certainly preferable to other forms of undefined behaviour, such as data corruption or crashing!