]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: testsuite: improve compatibility of gcc.target/arm/macro_defs*.c
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 6 Nov 2023 15:26:20 +0000 (15:26 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Nov 2023 14:15:56 +0000 (14:15 +0000)
commit5bc424925a3678d7821ab3512f49a66e98085768
treef18fc2bf26fff2da072210d7a1f8a3f572a5e14d
parentb9bed256c9772bcc13de6760919ecc963b865c32
arm: testsuite: improve compatibility of gcc.target/arm/macro_defs*.c

Convert these tests to use dg-add-options for increased compatibilty.
Since they also result in an empty translation unit, override the
default testsuite options.

gcc/testsuite:

* gcc.target/arm/macro_defs0.c: Use dg-effective-target and
dg-add-options.
* gcc.target/arm/macro_defs1.c: Likewise.
* gcc.target/arm/macro_defs2.c: Likewise.
gcc/testsuite/gcc.target/arm/macro_defs0.c
gcc/testsuite/gcc.target/arm/macro_defs1.c
gcc/testsuite/gcc.target/arm/macro_defs2.c