[Fortran/GOMP,committed] Moved test case from testsuite/gfortran.dg/gomp to libgomp/

Submitted by Tobias Burnus on Dec. 19, 2012, 3:05 p.m.

Details

Message ID 50D1D7B9.8010500@net-b.de
State New
Headers show

Commit Message

Tobias Burnus Dec. 19, 2012, 3:05 p.m.
Commited as obvious (Rev. 194611). The test case accesses the .mod file 
which is generated in libgomp.

For some reasons, it works when GCC is installed (i.e. it works for most 
developers?) but it fails otherwise (e.g. for HJ's builds).

Tobias

Patch hide | download patch | download mbox

Index: libgomp/ChangeLog
===================================================================
--- libgomp/ChangeLog	(Revision 194610)
+++ libgomp/ChangeLog	(Arbeitskopie)
@@ -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
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog	(Revision 194610)
+++ gcc/testsuite/ChangeLog	(Arbeitskopie)
@@ -1,3 +1,8 @@ 
+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.
+
 2012-12-19  Richard Biener  <rguenther@suse.de>
 
 	PR tree-optimization/55736
Index: gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90
===================================================================
--- gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90	(Revision 194610)
+++ gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90	(Arbeitskopie)
@@ -1,11 +0,0 @@ 
-! { 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