Warray-bounds-2.c: Include headers only if they exist.
authorMartin Sebor <msebor@gcc.gnu.org>
Wed, 23 Jan 2019 00:23:21 +0000 (17:23 -0700)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 23 Jan 2019 00:23:21 +0000 (17:23 -0700)
commitc262f6b77cd8c2ae996109d39324f22a69654a30
tree311e69e1c133af83ea62fa3d481a6d27d0547275
parente6c26d640649ad334160f073ace6ef52d8e4039d
Warray-bounds-2.c: Include headers only if they exist.

gcc/testsuite/ChangeLog:

* c-c++-common/Warray-bounds-2.c: Include headers only if they exist.
* c-c++-common/Warray-bounds-3.c: Make xfails conditional on target
non_strict_align.
* c-c++-common/Wrestrict-2.c: Include headers only if they exist.
* c-c++-common/Wrestrict.c: Make xfails conditional on target
non_strict_align.

From-SVN: r268175
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Warray-bounds-2.c
gcc/testsuite/c-c++-common/Warray-bounds-3.c
gcc/testsuite/c-c++-common/Wrestrict-2.c
gcc/testsuite/c-c++-common/Wrestrict.c