aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2021-05-17 09:25:43 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2021-05-17 09:29:05 +0000
commitb050cf6a4d9c305daff4a96e5a2489ece69dc287 (patch)
treee4bfd9d1dd1c46435db29e39760dc28db675d9a8
parent2ec80a3457a1be57736a70007d4851e676bce7e8 (diff)
downloadgcc-b050cf6a4d9c305daff4a96e5a2489ece69dc287.zip
gcc-b050cf6a4d9c305daff4a96e5a2489ece69dc287.tar.gz
gcc-b050cf6a4d9c305daff4a96e5a2489ece69dc287.tar.bz2
testsuite: Require openmp effective-target for PR100515
The related test uses -fopenmp, which is not supported by newlib-based targets such as arm-eabi or aarch64-elf. Requiring the openmp effective-target makes the test unsupported rather than failed. 2021-05-17 Christophe Lyon <christophe.lyon@linaro.org> PR debug/100515 gcc/testsuite * gcc.dg/debug/dwarf2/pr100515.c: Require openmp effective-target.
-rw-r--r--gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c
index 7c72fcd..17f6463 100644
--- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c
+++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c
@@ -1,5 +1,6 @@
/* PR debug/100515 */
/* { dg-do compile } */
+/* { dg-require-effective-target fopenmp } */
/* { dg-options "-g -O2 -fopenmp" } */
void