This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp merge] Stage 2: OpenMP for the Fortran front end


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).

Or do you mean by "without openmp" without libgomp?  If the latter,
then all gfortran.dg/gomp/ tests don't need libgomp.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]