testsuite: Fix -Wsizeof-array-div tests.
authorMarek Polacek <polacek@redhat.com>
Fri, 23 Oct 2020 23:26:43 +0000 (19:26 -0400)
committerMarek Polacek <polacek@redhat.com>
Fri, 23 Oct 2020 23:27:07 +0000 (19:27 -0400)
commitd835608f05471e749533c756ccdd9e166b819b68
tree32872679d814313672d7f0f63e43cd1568929094
parent67f3791f7d133214b112bd831ff2876822c665d0
testsuite: Fix -Wsizeof-array-div tests.

gcc/testsuite/ChangeLog:

* c-c++-common/Wsizeof-array-div1.c: Expect certain warnings on
lp64 targets only.
* g++.dg/warn/Wsizeof-array-div2.C: Only run on lp64 targets.
gcc/testsuite/c-c++-common/Wsizeof-array-div1.c
gcc/testsuite/g++.dg/warn/Wsizeof-array-div2.C