https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- There might be an argument that we should provide a way to disable all "late" (during/after optimization) diagnostics. There are often instances of the same -Wxyz that are emitted from both frontends and late pass instances.