[Bug c/85874] gcc points to wrong location when displaying error

2018-05-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874 --- Comment #3 from Andrew Pinski --- Strict overflow warnings are just so badly implemented ...

[Bug c/85874] gcc points to wrong location when displaying error

2018-05-22 Thread asn at samba dot org
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

[Bug c/85874] gcc points to wrong location when displaying error

2018-05-22 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874 --- Comment #1 from Andreas Schwab --- Does that change if you use -Wsystem-headers?