Wattributes.c testcase: Disable warning check for IBM Z.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 6 Apr 2018 07:43:53 +0000 (07:43 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 6 Apr 2018 07:43:53 +0000 (07:43 +0000)
commitbce89076ce03ff9bcf89362477cff548a585bcdd
treef5104000e8cd97337ccf9b15ff7b3b6471748f24
parent9865d2406b69338e624d18e4e52aaa4f79aeb199
Wattributes.c testcase: Disable warning check for IBM Z.

On IBM Z we enforce function alignment to 8 bytes.  Hence we get an
error instead of a warning when trying to specify smaller alignments.

gcc/testsuite/ChangeLog:

2018-04-06  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* c-c++-common/Wattributes.c: Disable warning for s390* target and
check for an error instead.
* gcc.dg/Wattributes-6.c: Likewise.

From-SVN: r259163
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wattributes.c
gcc/testsuite/gcc.dg/Wattributes-6.c