This is the mail archive of the
gcc-prs@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
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 26 Oct 2002 19:36:00 -0000
- Subject: Re: fortran/8308: gcc-3.x does not compile files with suffix .r (RATFOR)
- Reply-to: Toon Moene <toon at moene dot indiv dot nluug dot nl>
The following reply was made to PR fortran/8308; it has been noted by GNATS.
From: Toon Moene <toon@moene.indiv.nluug.nl>
To: toon@gcc.gnu.org, gcc-bugs@gcc.gnu.org, rchapman@acm.org,
pavenis@latnet.lv, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: fortran/8308: gcc-3.x does not compile files with suffix .r (RATFOR)
Date: Sat, 26 Oct 2002 21:36:29 +0200
This is a multi-part message in MIME format.
--------------050403080700000701060903
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
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)
--------------050403080700000701060903
Content-Type: text/plain;
name="8308.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="8308.diff"
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},
--------------050403080700000701060903--