testsuite: Require openmp effective-target for PR100515
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 17 May 2021 09:25:43 +0000 (09:25 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 17 May 2021 09:29:05 +0000 (09:29 +0000)
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.

gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c

index 7c72fcd..17f6463 100644 (file)
@@ -1,5 +1,6 @@
 /* PR debug/100515 */
 /* { dg-do compile } */
+/* { dg-require-effective-target fopenmp } */
 /* { dg-options "-g -O2 -fopenmp" } */
 
 void