[ARM/FDPIC v6 14/24] [ARM][testsuite] FDPIC: Skip unsupported tests
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 10 Sep 2019 08:01:15 +0000 (10:01 +0200)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 10 Sep 2019 08:01:15 +0000 (10:01 +0200)
commit488bd12977b8bd6f9d5d236607ced609cc21be92
tree702fe291923753071c47a1c472c56c954649b8f2
parent84818dbb70375810557ce9d8880c4345e845c01d
[ARM/FDPIC v6 14/24] [ARM][testsuite] FDPIC: Skip unsupported tests

Several tests cannot work on ARM-FDPIC for various reasons: skip them,
or skip some directives.

gcc.dg/20020312-2.c: Skip since it forces -fno-pic.

gcc.target/arm/:
* Skip since r9 is clobbered by assembly code:
  20051215-1.c
  mmx-1.c
  pr61948.c
  pr77933-1.c
  pr77933-2.c

* Skip since the test forces armv5te which is not supported by FDPIC:
  pr40887.c
  pr19599.c

* Skip since FDPIC disables sibcall to external functions:
  sibcall-1.c
  tail-long-call
  vfp-longcall-apcs

* Skip size check since it's different for FDPIC:
  ivopts-2.c
  ivopts-3.c
  ivopts-4.c
  ivopts-5.c
  pr43597.c
  pr43920-2.c

* Disable assembler scanning invalid for FDPIC:
  pr45701-1.c
  pr45701-2.c
  stack-red-zone.c

* gnu2 TLS dialect is not supported by FDPIC:
  tlscall.c

* Test relies on symbols not generated in FDPIC:
  data-rel-2.c
  data-rel-3.c

2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
Mickaël Guêné <mickael.guene@st.com>

gcc/testsuite/
* gcc.dg/20020312-2.c: Skip on arm*-*-uclinuxfdpiceabi.
* gcc.target/arm/20051215-1.c: Likewise.
* gcc.target/arm/mmx-1.c: Likewise.
* gcc.target/arm/pr19599.c: Likewise.
* gcc.target/arm/pr40887.c: Likewise.
* gcc.target/arm/pr61948.c: Likewise.
* gcc.target/arm/pr77933-1.c: Likewise.
* gcc.target/arm/pr77933-2.c: Likewise.
* gcc.target/arm/sibcall-1.c: Likewise.
* gcc.target/arm/data-rel-2.c: Likewise.
* gcc.target/arm/data-rel-3.c: Likewise.
* gcc.target/arm/tail-long-call: Likewise.
* gcc.target/arm/tlscall.c: Likewise.
* gcc.target/arm/vfp-longcall-apcs: Likewise.
* gcc.target/arm/ivopts-2.c: Skip object-size test on
arm*-*-uclinuxfdpiceabi.
* gcc.target/arm/ivopts-3.c: Likewise.
* gcc.target/arm/ivopts-4.c: Likewise.
* gcc.target/arm/ivopts-5.c: Likewise.
* gcc.target/arm/pr43597.c: Likewise.
* gcc.target/arm/pr43920-2.c: Likewise.
* gcc.target/arm/pr45701-1.c: Skip scan-assembler on
arm*-*-uclinuxfdpiceabi.
* gcc.target/arm/pr45701-2.c: Likewise.
* gcc.target/arm/stack-red-zone.c: Likewise.

Co-Authored-By: Mickaël Guêné <mickael.guene@st.com>
From-SVN: r275576
24 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020312-2.c
gcc/testsuite/gcc.target/arm/20051215-1.c
gcc/testsuite/gcc.target/arm/data-rel-2.c
gcc/testsuite/gcc.target/arm/data-rel-3.c
gcc/testsuite/gcc.target/arm/ivopts-2.c
gcc/testsuite/gcc.target/arm/ivopts-3.c
gcc/testsuite/gcc.target/arm/ivopts-4.c
gcc/testsuite/gcc.target/arm/ivopts-5.c
gcc/testsuite/gcc.target/arm/mmx-1.c
gcc/testsuite/gcc.target/arm/pr19599.c
gcc/testsuite/gcc.target/arm/pr40887.c
gcc/testsuite/gcc.target/arm/pr43597.c
gcc/testsuite/gcc.target/arm/pr43920-2.c
gcc/testsuite/gcc.target/arm/pr45701-1.c
gcc/testsuite/gcc.target/arm/pr45701-2.c
gcc/testsuite/gcc.target/arm/pr61948.c
gcc/testsuite/gcc.target/arm/pr77933-1.c
gcc/testsuite/gcc.target/arm/pr77933-2.c
gcc/testsuite/gcc.target/arm/sibcall-1.c
gcc/testsuite/gcc.target/arm/stack-red-zone.c
gcc/testsuite/gcc.target/arm/tail-long-call.c
gcc/testsuite/gcc.target/arm/tlscall.c
gcc/testsuite/gcc.target/arm/vfp-longcall-apcs.c