Commit ad8e2415 by Christophe Lyon

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.
parent 9e424d97
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> 2020-01-23 David Malcolm <dmalcolm@redhat.com>
PR analyzer/93367 PR analyzer/93367
......
// { dg-do compile } // { dg-do compile }
// { dg-require-effective-target fopenmp }
// { dg-additional-options "-fno-var-tracking-assignments -fopenmp" } // { dg-additional-options "-fno-var-tracking-assignments -fopenmp" }
struct A struct A
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment