https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86586
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That said, if the -W* does't affect code generation goal is very important and we don't find any other way, perhaps the price to pay for that is acceptable. Even the PR86569 patch isn't without cost (in that case even the cost is we generate worse code with -O0).