testsuite: Filter unaligned pointer value warning
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 9 Jul 2020 19:00:46 +0000 (22:00 +0300)
committerDimitar Dimitrov <dimitar@dinux.eu>
Tue, 21 Jul 2020 15:35:44 +0000 (18:35 +0300)
commit6741411b033a7e8eae96d5a85e24e5be214757dd
tree752d0a1f345905214533a2926bf1cfb5bcb0b3c6
parentc850a642e1dfd3a15335d86976015c4a5064b5df
testsuite: Filter unaligned pointer value warning

Targets which pack structures by default will not get warnings about
unaligned access to structure members.

gcc/testsuite/ChangeLog:

* c-c++-common/Waddress-of-packed-member-1.c: Filter dg-warning
for targets who pack by default.
* c-c++-common/Waddress-of-packed-member-2.c: Ditto.
* c-c++-common/pr51628-13.c: Ditto.
* c-c++-common/pr51628-15.c: Ditto.
* c-c++-common/pr51628-16.c: Ditto.
* c-c++-common/pr51628-26.c: Ditto.
* c-c++-common/pr51628-27.c: Ditto.
* c-c++-common/pr51628-28.c: Ditto.
* c-c++-common/pr51628-29.c: Ditto.
* c-c++-common/pr51628-3.c: Ditto.
* c-c++-common/pr51628-30.c: Ditto.
* c-c++-common/pr51628-31.c: Ditto.
* c-c++-common/pr51628-32.c: Ditto.
* c-c++-common/pr51628-33.c: Ditto.
* c-c++-common/pr51628-35.c: Ditto.
* c-c++-common/pr51628-4.c: Ditto.
* c-c++-common/pr51628-5.c: Ditto.
* c-c++-common/pr51628-6.c: Ditto.
* c-c++-common/pr51628-8.c: Ditto.
* c-c++-common/pr51628-9.c: Ditto.
* c-c++-common/pr88664-2.c: Ditto.
* gcc.dg/pr51628-17.c: Ditto.
* gcc.dg/pr51628-19.c: Ditto.
* gcc.dg/pr51628-20.c: Ditto.
* gcc.dg/pr51628-21.c: Ditto.
* gcc.dg/pr51628-22.c: Ditto.
* gcc.dg/pr51628-24.c: Ditto.
* gcc.dg/pr51628-25.c: Ditto.
* gcc.dg/pr51628-34.c: Ditto.
* gcc.dg/pr88928.c: Ditto.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
30 files changed:
gcc/testsuite/c-c++-common/Waddress-of-packed-member-1.c
gcc/testsuite/c-c++-common/Waddress-of-packed-member-2.c
gcc/testsuite/c-c++-common/pr51628-13.c
gcc/testsuite/c-c++-common/pr51628-15.c
gcc/testsuite/c-c++-common/pr51628-16.c
gcc/testsuite/c-c++-common/pr51628-26.c
gcc/testsuite/c-c++-common/pr51628-27.c
gcc/testsuite/c-c++-common/pr51628-28.c
gcc/testsuite/c-c++-common/pr51628-29.c
gcc/testsuite/c-c++-common/pr51628-3.c
gcc/testsuite/c-c++-common/pr51628-30.c
gcc/testsuite/c-c++-common/pr51628-31.c
gcc/testsuite/c-c++-common/pr51628-32.c
gcc/testsuite/c-c++-common/pr51628-33.c
gcc/testsuite/c-c++-common/pr51628-35.c
gcc/testsuite/c-c++-common/pr51628-4.c
gcc/testsuite/c-c++-common/pr51628-5.c
gcc/testsuite/c-c++-common/pr51628-6.c
gcc/testsuite/c-c++-common/pr51628-8.c
gcc/testsuite/c-c++-common/pr51628-9.c
gcc/testsuite/c-c++-common/pr88664-2.c
gcc/testsuite/gcc.dg/pr51628-17.c
gcc/testsuite/gcc.dg/pr51628-19.c
gcc/testsuite/gcc.dg/pr51628-20.c
gcc/testsuite/gcc.dg/pr51628-21.c
gcc/testsuite/gcc.dg/pr51628-22.c
gcc/testsuite/gcc.dg/pr51628-24.c
gcc/testsuite/gcc.dg/pr51628-25.c
gcc/testsuite/gcc.dg/pr51628-34.c
gcc/testsuite/gcc.dg/pr88928.c