summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-19 15:02:50 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-19 15:02:50 +0000
commit8b23516000a3d3e21999fe46df74c090480986d3 (patch)
treebfb101e5c88f8ccc791568d7de2a9a13ec697b26 /libgomp
parentb7740973f453970ceace5797a0a8ec1cdf55770b (diff)
downloadgcc-8b23516000a3d3e21999fe46df74c090480986d3.tar.gz
libgomp/
2012-12-19 Tobias Burnus <burnus@net-b.de> * testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90. gcc/testsuite/ 2012-12-19 Tobias Burnus <burnus@net-b.de> * gfortran.dg/gomp/use_intrinsic_1.f90: Moved to libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f9011
2 files changed, 16 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index ceebbfad17c..263670b7be6 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-19 Tobias Burnus <burnus@net-b.de>
+
+ * testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved
+ from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90.
+
2012-11-21 Jakub Jelinek <jakub@redhat.com>
PR libgomp/55411
diff --git a/libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90 b/libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90
new file mode 100644
index 00000000000..5996350301b
--- /dev/null
+++ b/libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90
@@ -0,0 +1,11 @@
+! { dg-do compile }
+!
+! PR fortran/55197
+!
+! Contributed by Erik Toussaint
+!
+
+use, intrinsic :: omp_lib, only: omp_get_num_threads
+use, intrinsic :: omp_lib_kinds , foo => omp_lock_kind
+print *, foo
+end