This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/21982] New: stratcliff.c: error: assuming signed overflow does not occur with -O3
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 20 Aug 2017 16:50:00 +0000
- Subject: [Bug string/21982] New: stratcliff.c: error: assuming signed overflow does not occur with -O3
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21982
Bug ID: 21982
Summary: stratcliff.c: error: assuming signed overflow does not
occur with -O3
Product: glibc
Version: 2.27
Status: NEW
Severity: normal
Priority: P2
Component: string
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
With gcc 7 and -O3, I got
stratcliff.c: In function ‘do_test’:
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: error: assuming signed overflow does not occur when assuming that (X - c)
<= X is always true [-Werror=strict-overflow]
cc1: all warnings being treated as errors
--
You are receiving this mail because:
You are on the CC list for the bug.