https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116581
--- Comment #1 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- I forgot: gcc-snapshot is currently: gcc (Debian 20240829-1) 15.0.0 20240829 (experimental) [master r15-3282-g4ff4875a79c] This bug was still present in GCC 8.4.0 (same messages). With GCC 4.9, 5 and 6, I also get 2 warnings, but with fewer details.