https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113664
--- Comment #6 from Stefan Krah <stefan at bytereef dot org> --- Sometimes you hear "code should be rewritten" because squashing the warnings makes it better. I disagree. I've seen many segfaults introduced in projects that rush to squash warnings. Sometimes, analyzers just cannot cope with established idioms. clang-analyzer for instance hates Knuth's algorithm D (long division). It would be strange to change that for an analyzer.