This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warnings in string/stratcliff.c, wcsmbs/wcsatcliff.c with GCC 7 -O3


On 03/22/2017 11:29 AM, Stefan Liebler wrote:
> Hi,
>
> Compiling string/stratcliff.c with GCC 7 and -O3 leads to the following warning/errors on s390x / x86_64:
> ../test-skeleton.c: In function ‘legacy_test_function’:
> cc1: error: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Werror=strict-overflow]

https://sourceware.org/ml/libc-alpha/2017-03/msg00422.html
Could you give a try with above patch in?

It updates the string tests to the support test driver. Above error occurs in the legacy test skeleton. Otherwise the support test-driver will need a fix too.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]