From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1330 invoked by alias); 18 Nov 2005 12:40:55 -0000 Received: (qmail 1293 invoked by alias); 18 Nov 2005 12:40:50 -0000 Date: Fri, 18 Nov 2005 12:40:00 -0000 Message-ID: <20051118124050.1292.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/20811] gfortran include problem (regression from g77) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2005-11/txt/msg02562.txt.bz2 List-Id: ------- Comment #12 from fxcoudert at gcc dot gnu dot org 2005-11-18 12:40 ------- Subject: Bug 20811 Author: fxcoudert Date: Fri Nov 18 12:40:42 2005 New Revision: 107177 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107177 Log: PR fortran/20811 PR fortran/24892 * io/io.h (unit_access): Add ACCESS_APPEND. * io/open.c (access_opt): Add APPEND value for ACCESS keyword. (st_open): Use that new value to set the POSITION accordingly. * configure.ac: Add "-I ." to AM_FCFLAGS. * configure: Regenerate. * 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: branches/gcc-4_0-branch/gcc/fortran/ChangeLog branches/gcc-4_0-branch/gcc/fortran/gfortran.h branches/gcc-4_0-branch/gcc/fortran/module.c branches/gcc-4_0-branch/gcc/fortran/options.c branches/gcc-4_0-branch/gcc/fortran/scanner.c branches/gcc-4_0-branch/libgfortran/ChangeLog branches/gcc-4_0-branch/libgfortran/configure branches/gcc-4_0-branch/libgfortran/configure.ac branches/gcc-4_0-branch/libgfortran/io/io.h branches/gcc-4_0-branch/libgfortran/io/open.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20811