diff options
author | Robin Dapp <rdapp@linux.ibm.com> | 2021-06-15 09:06:15 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@linux.ibm.com> | 2021-06-15 09:38:23 +0200 |
commit | 3fe54645374b1d7992555e97d906a5ba281d3c54 (patch) | |
tree | ef81ea07acf19b2e4abbac8fa89b661b2bf73aa3 /gcc/loop-init.c | |
parent | ba2eef033e59d80fde35d0cc3acf4d82f7706e60 (diff) | |
download | gcc-3fe54645374b1d7992555e97d906a5ba281d3c54.zip gcc-3fe54645374b1d7992555e97d906a5ba281d3c54.tar.gz gcc-3fe54645374b1d7992555e97d906a5ba281d3c54.tar.bz2 |
testsuite: Fix Wattributes test cases for s390 and add new tests.
There are several FAILs because we have an s390-specific check for a
warning which is not necessary anymore. Remove it.
Add a new test case that expects a warning about conflicting function
alignment. This would fail on s390 before but most likely on other
targets as well so it can be a target-independent test.
Also, add a test to verify that we do not emit a note when specifying
conflicting alignment for the same declaration. Need to explicitly
handle every dg-note because handling one disables dg-note pruning.
gcc/testsuite/ChangeLog:
* c-c++-common/Wattributes.c: Remove s390-specific check and add
new tests.
* gcc.dg/Wattributes-6.c: Likewise.
Diffstat (limited to 'gcc/loop-init.c')
0 files changed, 0 insertions, 0 deletions