strtod_l.c from glibc-2.7 produces following warnings and Ian Lance Taylor said at the least for warning should only be issued with -Wstrict-overflow=3.
strtod_l.c:1009: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C1 +- C2 strtod_l.c:1358: warning: assuming signed overflow does not occur when simplifying conditional to constant strtod_l.c:1358: warning: assuming signed overflow does not occur when simplifying conditional to constant strtod_l.c:1410: warning: assuming signed overflow does not occur when simplifying conditional to constant strtod_l.c:1410: warning: assuming signed overflow does not occur when simplifying conditional to constant strtod_l.c:1531: warning: assuming signed overflow does not occur when simplifying conditional to constant strtod_l.c:1531: warning: assuming signed overflow does not occur when simplifying conditional to constant -- Summary: -Wstrict-overflow produces extra warnings Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ismail at pardus dot org dot tr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34515