diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-06-14 14:20:00 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-06-14 14:20:00 +0000 |
commit | 35ebb6b0c48bc671d9c54e089884f9bf6fca540e (patch) | |
tree | 16d013c07c6d8d869f6ff0a6dde474bc7f2cac23 /ChangeLog | |
parent | 3c7b9f1fc37c8a639df7406af100a2d389ff843a (diff) | |
download | glibc-35ebb6b0c48bc671d9c54e089884f9bf6fca540e.zip glibc-35ebb6b0c48bc671d9c54e089884f9bf6fca540e.tar.gz glibc-35ebb6b0c48bc671d9c54e089884f9bf6fca540e.tar.bz2 |
Ignore -Wrestrict for one strncat test.
With current GCC mainline, one strncat test involving a size close to
SIZE_MAX results in a -Wrestrict warning that that buffer size would
imply that the two buffers must overlap. This patch fixes the build
by adding disabling of -Wrestrict (for GCC versions supporting that
option) to the already-present disabling of -Wstringop-overflow= and
-Warray-bounds for this test.
Tested with build-many-glibcs.py that this restores the testsuite
build with GCC mainline for aarch64-linux-gnu.
* string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
ignore -Wrestrict for one test.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2018-06-14 Joseph Myers <joseph@codesourcery.com> + + * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also + ignore -Wrestrict for one test. + 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com> Szabolcs Nagy <szabolcs.nagy@arm.com> |