Joseph Myers 1421f39b7e Disable strncat test array-bounds warnings for GCC 8.
Some strncat tests fail to build with GCC 8 because of -Warray-bounds
warnings.  These tests are deliberately test over-large size arguments
passed to strncat, and already disable -Wstringop-overflow warnings,
but now the warnings for these tests come under -Warray-bounds so that
option needs disabling for them as well, which this patch does (with
an update on the comments; the DIAG_IGNORE_NEEDS_COMMENT call for
-Warray-bounds doesn't need to be conditional itself, because that
option is supported by all versions of GCC that can build glibc).

Tested compilation with build-many-glibcs.py for aarch64-linux-gnu.

	* string/tester.c (test_strncat): Also disable -Warray-bounds
	warnings for two tests.
2017-12-18 22:52:41 +00:00
..
2017-06-20 08:21:24 -04:00
2017-08-08 17:14:49 +00:00
2017-08-08 17:14:49 +00:00
2017-05-10 00:25:59 +00:00
2017-06-20 08:21:24 -04:00
2017-06-20 08:21:24 -04:00
2017-05-25 11:38:01 -07:00
2017-06-08 09:56:01 -07:00
2017-07-06 17:01:03 +00:00