[Bug fortran/20811] gfortran include problem (regression from g77)
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 12:51:00 GMT 2005
------- Comment #9 from fxcoudert at gcc dot gnu dot org 2005-11-17 12:51 -------
Subject: Bug 20811
Author: fxcoudert
Date: Thu Nov 17 12:51:41 2005
New Revision: 107120
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107120
Log:
PR fortran/20811
* scanner.c (gfc_open_included_file): Add an extra include_cwd
argument. Only include files in the current working directory if
its value is true.
* gfortran.h: Change prototype for gfc_open_included_file.
(load_file): Don't search for include files in the current working
directory.
* options.c (gfc_post_options): Add the directory of the source file
to the list of paths for included files.
* module.c (gfc_use_module): Look for module files in the current
directory.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/module.c
trunk/gcc/fortran/options.c
trunk/gcc/fortran/scanner.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20811
More information about the Gcc-bugs
mailing list