From 0d51fab4330c4bfeb0798d99b4103442bee22ff4 Mon Sep 17 00:00:00 2001 From: Craig Burley Date: Tue, 2 Mar 1999 20:44:33 +0000 Subject: [PATCH] Support -ax for Fortran code From-SVN: r25545 --- gcc/f/ChangeLog | 4 ++++ gcc/f/lang-specs.h | 8 ++++---- gcc/f/news.texi | 6 +++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index f832038dd2e..fc8055ceea0 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -3,6 +3,10 @@ * g77.texi (Bug Reporting): Clarify whether to use -E. Clarify other instructions. +1999-02-27 Craig Burley + + * lang-specs.h: Fix specs to pass `-ax' as well as `-a' option. + 1999-02-26 Craig Burley * intdoc.in (STAT_func, STAT_subr, diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h index c8f597e7531..ba777ebee92 100644 --- a/gcc/f/lang-specs.h +++ b/gcc/f/lang-specs.h @@ -46,7 +46,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ %i %{!M:%{!MM:%{!E:%{!pipe:%g.i}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n", "%{!M:%{!MM:%{!E:f771 %{!pipe:%g.i} %(f771) \ - %{!Q:-quiet} -dumpbase %b.F %{d*} %{m*} %{a}\ + %{!Q:-quiet} -dumpbase %b.F %{d*} %{m*} %{a*}\ %{g*} %{O*} %{W*} %{w} %{pedantic*} \ %{v:-version -fversion} %{pg:-p} %{p} %{f*} %{I*}\ %{aux-info*} %{Qn:-fno-ident}\ @@ -61,7 +61,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{!E:%{!pipe:-o %g.f}}%{E:%W{o*}} %i |\n", "%{!E:f771 %{!pipe:%g.f} %(f771) \ - %{!Q:-quiet} -dumpbase %b.r %{d*} %{m*} %{a}\ + %{!Q:-quiet} -dumpbase %b.r %{d*} %{m*} %{a*}\ %{g*} %{O*} %{W*} %{w} %{pedantic*} \ %{v:-version -fversion} %{pg:-p} %{p} %{f*} %{I*}\ %{aux-info*} %{Qn:-fno-ident}\ @@ -75,7 +75,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA {".FOR", {"@f77"}}, {"@f77", {"%{!M:%{!MM:%{!E:f771 %i %(f771) \ - %{!Q:-quiet} -dumpbase %b.f %{d*} %{m*} %{a}\ + %{!Q:-quiet} -dumpbase %b.f %{d*} %{m*} %{a*}\ %{g*} %{O*} %{W*} %{w} %{pedantic*}\ %{v:-version -fversion} %{pg:-p} %{p} %{f*} %{I*}\ %{aux-info*} %{Qn:-fno-ident}\ @@ -96,7 +96,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z \ /dev/null /dev/null \n\ f771 -fnull-version %(f771) \ - %{!Q:-quiet} -dumpbase g77-version.f %{d*} %{m*} %{a} \ + %{!Q:-quiet} -dumpbase g77-version.f %{d*} %{m*} %{a*} \ %{g*} %{O*} %{W*} %{w} %{pedantic*} \ -version -fversion %{f*} %{I*} -o %g.s /dev/null \n\ as %a %Y -o %g%O %g.s %A \n\ diff --git a/gcc/f/news.texi b/gcc/f/news.texi index 768646d128c..4ba838166d9 100644 --- a/gcc/f/news.texi +++ b/gcc/f/news.texi @@ -9,7 +9,7 @@ @c The text of this file appears in the file BUGS @c in the G77 distribution, as well as in the G77 manual. -@c 1999-02-26 +@c 1999-03-02 @ifclear NEWSONLY @node News @@ -72,6 +72,10 @@ where @var{j} is other than default @code{INTEGER} (such as @code{INTEGER*2}). Instead, it issues a diagnostic. +@item +The @samp{-ax} option is now obeyed when compiling Fortran programs. +(It is passed to the @file{f771} driver.) + @item Source file names with the suffixes @samp{.FOR} and @samp{.FPP} now are recognized by @code{g77} -- 2.30.2