Add effective target to OpenMP tests
This adds an effective target DejaGnu directive to prevent these testcases from
failing on GCC configurations that do not support OpenMP.
This fixes 8d2130a4e5
.
gcc/testsuite/ChangeLog:
* gfortran.dg/c_ptr_tests_20.f90: Add "fopenmp" effective target.
* gfortran.dg/c_ptr_tests_21.f90: Add "fopenmp" effective target.
This commit is contained in:
parent
3c8abcedaa
commit
abd78dc610
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
! { dg-do compile }
|
||||
! { dg-require-effective-target fopenmp }
|
||||
! { dg-additional-options "-fopenmp" }
|
||||
!
|
||||
! This failed to compile the declare variant directive due to the C_PTR
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
! { dg-do compile }
|
||||
! { dg-require-effective-target fopenmp }
|
||||
! { dg-additional-options "-fopenmp" }
|
||||
!
|
||||
! Ensure that C_PTR and C_FUNPTR are reported as incompatible types in variant
|
||||
|
|
Loading…
Add table
Reference in a new issue