https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108165
--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> --- No, because as Comment 9 says, there's no good way to suppress the warning. I'm currently leaning towards closing the BZ and suggesting adding a #pragma to disable the warning.