https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104966
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Oops, I forgot to add that these all need -O2 to trigger the warnings.
redi at gcc dot gnu.org via Gcc-bugs Thu, 17 Mar 2022 05:38:00 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104966
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Oops, I forgot to add that these all need -O2 to trigger the warnings.