https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118458
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Stephen Berry from comment #7) > I should clarify that GCC doesn't appear to emit this warning after GCC13. > So, in this case I was looking for a solution for older versions of GCC. > This request was written generically, so that the issue could be avoided in > the future for warnings that developers want to disable. There is no solution for older versions of GCC since it won't be changed.