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: [patch, Fortran] Fix PR 56224


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 
directory?

-- 
Steve


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