https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Arthur O'Dwyer from comment #0) > For purposes of this issue here, I don't care about false negatives. I also > don't care about -Wstringop-overflow — also plagued by false positives — > because -Wstringop-overflow is rightly not enabled by `-Wall`. But I very > much do care about the fact that GCC's `-Wall` produces a flood of false > positives! Note that -Wstringop-overflow is actually enabled *by default*, even without -Wall or -Wextra. Anyway, I agree. In the GCC developer community, it's an open secret that the warnings are sometimes useful but often a guide for missing optimisations and are very noisy. We should at least put all of these under -Wall (not enabled by default), or moved to -Wextra (even better).