https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874
--- Comment #3 from Andrew Pinski ---
Strict overflow warnings are just so badly implemented ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874
--- Comment #2 from Andreas Schneider ---
If I add -Wsystem-headers I get:
In file included from /usr/include/stdlib.h:822,
from ../lib/replace/replace.h:40,
from ../lib/util/debug.c:22:
/usr/include/bits/stdlib
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874
--- Comment #1 from Andreas Schwab ---
Does that change if you use -Wsystem-headers?