This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,fortran] Fix INCLUDE with full path (PR30276)
On Tue, Jan 02, 2007 at 07:05:15PM +0100, Tobias Burnus wrote:
> Now with patch.
>
> Tobias Burnus wrote:
> >
> > Jakub Jelinek wrote:
> >
> >> Putting it in open_included_file rather than gfc_open_included_file
> >> and gfc_open_intrinsic_module is shorter, on the other side
> >> for gfc_open_included_file ("/tmp/foo.inc", true, x) with
> >> non-existent /tmp/foo.inc it will gfc_open_file twice while
> >> only once would be sufficient. But guess that is sufficiently rare not to
> >> care about it much.
> >>
> > Alternative version. Choose one.
> >
> > Tobias
> >
> > 2007-01-02 Tobias Burnus <burnus@net-b.de>
> > Jakub Jelinek <jakub@redhat.com>
> >
> > PR fortran/30276
> > * scanner.c (open_included_file): Revert patch.
> > (gfc_open_included_file): Support absolute pathnames.
> > (gfc_open_intrinsic_module): Support absolute pathnames.
>
In the absences of any further comments from Jakub, I think that
this patch is sufficient to solve the problem.
--
Steve