libgomp/ChangeLog:
* testsuite/libgomp.c-c++-common/critical-hint-1.c: New; moved from
gcc/testsuite/c-c++-common/gomp/.
* testsuite/libgomp.c-c++-common/critical-hint-2.c: Likewise.
* testsuite/libgomp.fortran/critical-hint-1.f90: New; moved
from gcc/testsuite/gfortran.dg/gomp/.
* testsuite/libgomp.fortran/critical-hint-2.f90: Likewise.
gcc/testsuite/ChangeLog:
* c-c++-common/gomp/critical-hint-1.c: Moved to libgomp/.
* c-c++-common/gomp/critical-hint-2.c: Moved to libgomp/.
* gfortran.dg/gomp/critical-hint-1.f90: Moved to libgomp/.
* gfortran.dg/gomp/critical-hint-2.f90: Moved to libgomp/.
+/* { dg-do compile } */
+
#include <omp.h>
void
+/* { dg-do compile } */
/* { dg-additional-options "-fdump-tree-original" } */
#include <omp.h>
+! { dg-do compile }
+
subroutine example_criticial ()
use omp_lib
implicit none
+! { dg-do compile }
! { dg-additional-options "-fdump-tree-original" }
subroutine example_criticial ()
use omp_lib