[patch, Fortran] Fix PR 56224

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Feb 9 19:08:00 GMT 2013

On Sat, Feb 09, 2013 at 02:14:53PM +0100, Thomas Koenig wrote:
> Am 09.02.2013 11:22, schrieb Tobias Burnus:
> > Why did you put a FIXME there? What's wrong with adding the directory here?
> I think module files are different enough from include files that I
> would like to have them in different directories.

IIR the history correctly, the name finclude was chosen to
mean 'Fortran include' to differentiate it from the traditional
location of C header files.  The 'include' in 'Fortran include'
was meant to mean any file that gfortran would needed (ie.,
could include) through an INCLUDE statement or USE statement.
finclude currently contains omp_lib.f90, omp_lib.h, omp_lib.mod,
and omp_lib_kinds.mod.   It seems to me that adding, say, a fmodule 
for omp_lib.mod and omp_lib_kinds.mod is adding needless complication
to the search paths.  Do we also move omp_lib.f90 to its own 


More information about the Gcc-patches mailing list