Skip to content

Commit

Permalink
debug/92763 Fix testcase to require fopenmp
Browse files Browse the repository at this point in the history
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  <[email protected]>

	PR debug/92763
	* g++.dg/debug/pr92763.C: Require fopenmp.
  • Loading branch information
Christophe Lyon committed Jan 24, 2020
1 parent 9e424d9 commit ad8e241
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2020-01-24 Christophe Lyon <[email protected]>

PR debug/92763
* g++.dg/debug/pr92763.C: Require fopenmp.

2020-01-23 David Malcolm <[email protected]>

PR analyzer/93367
Expand Down
1 change: 1 addition & 0 deletions gcc/testsuite/g++.dg/debug/pr92763.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// { dg-do compile }
// { dg-require-effective-target fopenmp }
// { dg-additional-options "-fno-var-tracking-assignments -fopenmp" }

struct A
Expand Down

0 comments on commit ad8e241

Please sign in to comment.