[gfortran] Fix gfortran include problem

FX Coudert fxcoudert@gmail.com
Wed Nov 16 09:08:00 GMT 2005


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:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_path.ChangeLog
Type: application/octet-stream
Size: 562 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051116/6c9040af/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_path.diff
Type: application/octet-stream
Size: 2792 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051116/6c9040af/attachment-0001.obj>


More information about the Gcc-patches mailing list