https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105705
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ah, sorry, bad archeology, the pass_post_ipa_warn was indeed added by me and the rationale for placing it where it is was given in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817#c9 The warning shouldn't have been added at all or not enabled at -Wall nor -Wextra. When it is, e.g. the unrolling or other optimizations (worst is certainly jump threading) can result in further false positives.