https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501
--- Comment #4 from Cheyenne Wills <cheyenne.wills at gmail dot com> --- (In reply to Andrew Pinski from comment #3) > Oh GCC warns even with optimizations turned on ... Correct. For gcc-12 the failure only occurs with -O0. With gcc-13 (and later), the problem occurs with or without optimization.