From: Christophe Lyon Date: Fri, 24 Jan 2020 09:07:58 +0000 (+0000) Subject: debug/92763 Fix testcase to require fopenmp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad8e2415d6e2dc7c6f1206e78d48f999ff6b0bc4;p=gcc.git 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 PR debug/92763 * g++.dg/debug/pr92763.C: Require fopenmp. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index df547bcc2ae..c465ff99541 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-01-24 Christophe Lyon + + PR debug/92763 + * g++.dg/debug/pr92763.C: Require fopenmp. + 2020-01-23 David Malcolm PR analyzer/93367 diff --git a/gcc/testsuite/g++.dg/debug/pr92763.C b/gcc/testsuite/g++.dg/debug/pr92763.C index 8e32d60039f..16dccf3b56f 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