This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: fortran/8308: gcc-3.x does not compile files with suffix .r (RATFOR)
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: toon at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, rchapman at acm dot org, pavenis at latnet dot lv, gcc-gnats at gcc dot gnu dot org
- Date: Sat, 26 Oct 2002 21:36:29 +0200
- Subject: Re: fortran/8308: gcc-3.x does not compile files with suffix .r (RATFOR)
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20021026161853.22467.qmail@sources.redhat.com>
I wrote:
Synopsis: gcc-3.x does not compile files with suffix .r (RATFOR)
Responsible-Changed-From-To: unassigned->toon
Responsible-Changed-By: toon
Responsible-Changed-When: Sat Oct 26 09:18:53 2002
Responsible-Changed-Why:
Fortran Maintainer.
State-Changed-From-To: open->analyzed
State-Changed-By: toon
State-Changed-When: Sat Oct 26 09:18:53 2002
State-Changed-Why:
Looking into it.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8308
I fixed this using Andris' suggestion (as attached).
Andris, could you test this on your platform to see if it really does
what it's supposed to do ? If so, I'll backport the solution to 3.2.1
as it is a regression w.r.t. 2.95 ...
Thanks for looking into this.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
2002-10-26 Andris Pavenis <pavenis@latnet.lv>
* lang-specs.h: Fix ratfor specs.
*** lang-specs.h.orig Thu Jun 20 22:34:04 2002
--- lang-specs.h Sat Oct 26 18:21:52 2002
***************
*** 1,4 ****
/* lang-specs.h file for Fortran
! Copyright (C) 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
Contributed by James Craig Burley.
--- 1,5 ----
/* lang-specs.h file for Fortran
! Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002
! Free Software Foundation, Inc.
Contributed by James Craig Burley.
*************** the Free Software Foundation, 59 Temple
*** 37,41 ****
"%{C:%{!E:%eGNU C does not support -C without using -E}}\
%{CC:%{!E:%eGNU C does not support -CC without using -E}}\
! ratfor %{C} %{CC} %{v} %i %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} |\n\
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}", 0},
{".f", "@f77", 0},
--- 38,42 ----
"%{C:%{!E:%eGNU C does not support -C without using -E}}\
%{CC:%{!E:%eGNU C does not support -CC without using -E}}\
! ratfor %{C} %{CC} %{v} %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} %i |\n\
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}", 0},
{".f", "@f77", 0},