https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224
Brian Bi <bbi5291 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bbi5291 at gmail dot com --- Comment #1 from Brian Bi <bbi5291 at gmail dot com> --- I'm also encountering this issue, and I can't find any way to write the code that avoids triggering the warning, so I will simply have to disable the warning until this issue is fixed. It also appears to affect GCC 14 and trunk.