This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp merge] Stage 2: OpenMP for the Fortran front end
On Tuesday 07 February 2006 21:54, Jakub Jelinek wrote:
> On Tue, Feb 07, 2006 at 01:44:45PM -0800, Steve Kargl wrote:
> > I forgot to ask. Can one execute the gomp fortran testsuite
> > with and without openmp?
>
> No. gomp.exp explicitly adds -fopenmp option.
> There are 2 tests in libgomp/testsuite/libgomp.fortran/
> (omp_cond2.f and comp_cond4.F90) that test -fno-openmp.
> Some of the tests in both libgomp.fortran and gfortran.dg/gomp
> will certainly work even without -fopenmp, but some of them
> rely on OpenMP being turned on (either for testing error messages,
> warnings, or some particular runtime behavior).
>
I could be wrong, but I think that the OpenMP standard requires a stub
library. I had a discussion with Diego about this some time ago, before the
gomp project had its latest (and finally successful, good job!) restart.
Is there any plan to add it?
Biagio
--
=========================================================
Dr. Biagio Lucini
Department of Physics, University of Wales Swansea
Singleton Park, SA2 8PP Swansea (UK)
Tel. +44 (0)1792 602284
=========================================================