This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[gfortran] Fix gfortran include problem
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Nov 2005 10:08:04 +0100
- Subject: [gfortran] Fix gfortran include problem
Attached patch fixes PR fortran/20811, where gfortran is not able to
include files located in the same directory as the source file, if it's
not the current working directory (In all this mail, the inclusion I'm
speaking of is the fortran keyword "include"). This is a regression
w.r.t. g77, and all commercial compilers. Moreover, gfortan does by
default include files from the current working directory (cwd), while
g77 doesn't.
The patch fixes both erroneous behaviours. It is tested and regtested
on ppc-darwin. OK for mainline? OK for 4.0?
:ADDPATCH fortran:
Attachment:
include_path.ChangeLog
Description: Binary data
Attachment:
include_path.diff
Description: Binary data