aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-01-24 09:07:58 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-01-24 09:23:31 +0000
commitad8e2415d6e2dc7c6f1206e78d48f999ff6b0bc4 (patch)
tree5b93cb902c22fc59cbf41886be355e68319c81d9 /gcc
parent9e424d974974c18b432c96f0df31b79a857819e6 (diff)
downloadgcc-ad8e2415d6e2dc7c6f1206e78d48f999ff6b0bc4.zip
gcc-ad8e2415d6e2dc7c6f1206e78d48f999ff6b0bc4.tar.gz
gcc-ad8e2415d6e2dc7c6f1206e78d48f999ff6b0bc4.tar.bz2
debug/92763 Fix testcase to require fopenmp
The testcase fails to link on targets without -pthread which is implied by -fopenmp. Use dg-require-effective-target fopenmp to avoid this problem. 2020-01-24 Christophe Lyon <christophe.lyon@linaro.org> PR debug/92763 * g++.dg/debug/pr92763.C: Require fopenmp.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/debug/pr92763.C1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index df547bc..c465ff9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-24 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR debug/92763
+ * g++.dg/debug/pr92763.C: Require fopenmp.
+
2020-01-23 David Malcolm <dmalcolm@redhat.com>
PR analyzer/93367
diff --git a/gcc/testsuite/g++.dg/debug/pr92763.C b/gcc/testsuite/g++.dg/debug/pr92763.C
index 8e32d60..16dccf3 100644
--- a/gcc/testsuite/g++.dg/debug/pr92763.C
+++ b/gcc/testsuite/g++.dg/debug/pr92763.C
@@ -1,4 +1,5 @@
// { dg-do compile }
+// { dg-require-effective-target fopenmp }
// { dg-additional-options "-fno-var-tracking-assignments -fopenmp" }
struct A