From: Christophe Lyon Date: Mon, 17 May 2021 09:25:43 +0000 (+0000) Subject: testsuite: Require openmp effective-target for PR100515 X-Git-Tag: upstream/12.2.0~7874 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b050cf6a4d9c305daff4a96e5a2489ece69dc287;p=platform%2Fupstream%2Fgcc.git 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 PR debug/100515 gcc/testsuite * gcc.dg/debug/dwarf2/pr100515.c: Require openmp effective-target. --- 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