]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/20811 (gfortran include problem (regression from g77))
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Thu, 17 Nov 2005 12:51:41 +0000 (13:51 +0100)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 17 Nov 2005 12:51:41 +0000 (12:51 +0000)
commitb424a57253aafe26c07a50fecfd2a61999b06475
tree35d678ee317290325bc9327dcad95c6ae1820654
parent1c2e7a3ab332ecb47b606ce2400672eb6065e45f
re PR fortran/20811 (gfortran include problem (regression from g77))

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.

From-SVN: r107120
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/module.c
gcc/fortran/options.c
gcc/fortran/scanner.c