From 90b4710b243d238c57972be3058f539fe97b2849 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 12 Mar 1998 00:43:13 +0000 Subject: [PATCH] =?UTF-8?q?=EF=BF=BD=20In=20gcc/:=20=09*=20i386.h=20(RTX?= =?UTF-8?q?=5FCOSTS):=20Insert=20braces=20around=20nested=20if.=20=09(ADDI?= =?UTF-8?q?TIONAL=5FREGISTER=5FNAMES):=20Insert=20braces=20around=20struct?= =?UTF-8?q?ured=20=09elements.=20=09*=20gcc.c=20(default=5Fcompilers):=20P?= =?UTF-8?q?roperly=20put=20brackets=20around=20array=20elements=20in=20=09?= =?UTF-8?q?initializer.=20=09*=20getopt.c=20(=5Fgetopt=5Finternal):=20Add?= =?UTF-8?q?=20explicit=20braces=20around=20nested=20if;=20=09reformatted.?= =?UTF-8?q?=20=09*=20reg-stack.c=20(record=5Fasm=5Freg=5Flife):=20Add=20ex?= =?UTF-8?q?plicit=20braces=20around=20nested=20if's.=20=09(record=5Freg=5F?= =?UTF-8?q?life=5Fpat):=20Add=20explicit=20parens=20around=20&&=20and=20||?= =?UTF-8?q?=20in=20expression.=20=09(stack=5Freg=5Flife=5Fanalysis):=20Add?= =?UTF-8?q?=20parens=20around=20assignment=20used=20as=20expression.=20=09?= =?UTF-8?q?(convert=5Fregs):=20Likewise.=20In=20gcc/cp/:=20=09*=20lang-spe?= =?UTF-8?q?cs.h:=20Properly=20put=20brackets=20around=20array=20elements?= =?UTF-8?q?=20in=20initializer.=20=09*=20typeck.c=20(build=5Fbinary=5Fop?= =?UTF-8?q?=5Fnodefault):=20Correctly=20place=20parens=20around=20=09&&=20?= =?UTF-8?q?and=20||=20in=20expression.=20In=20gcc/f/:=20=09*=20lang-specs.?= =?UTF-8?q?h:=20Properly=20put=20brackets=20around=20array=20elements=20in?= =?UTF-8?q?=20initializer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From-SVN: r18503 --- gcc/f/lang-specs.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h index a51e2a6ba9af..c9419c33e208 100644 --- a/gcc/f/lang-specs.h +++ b/gcc/f/lang-specs.h @@ -33,8 +33,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define OO ".o" #endif - {".F", "@f77-cpp-input"}, - {".fpp", "@f77-cpp-input"}, + {".F", {"@f77-cpp-input"}}, + {".fpp", {"@f77-cpp-input"}}, {"@f77-cpp-input", /* For f77 we want -traditional to avoid errors with, for instance, mismatched '. Also, we avoid unpleasant surprises @@ -43,7 +43,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA Sun f77, at least) so you test `__unix' rather than `unix'. -D_LANGUAGE_FORTRAN is used by some compilers like SGI and might as well be in there. */ - "cpp -lang-c %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ + {"cpp -lang-c %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -undef -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ @@ -52,7 +52,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} -traditional\ %{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} -fset-g77-defaults %(f771) \ + "%{!M:%{!MM:%{!E:f771 %{!pipe:%g.i} -fset-g77-defaults %(f771) \ %{!Q:-quiet} -dumpbase %b.F %{d*} %{m*} %{a}\ %{g*} %{O*} %{W*} %{w} %{pedantic*} \ %{v:-version -fversion} %{pg:-p} %{p} %{f*} %{I*}\ @@ -61,13 +61,13 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\ %{!S:as %a %Y\ %{c:%W{o*}%{!o*:-o %w%b" OO "}}%{!c:-o %d%w%u" OO "}\ - %{!pipe:%g.s} %A\n }}}}"}, - {".r", "@ratfor"}, + %{!pipe:%g.s} %A\n }}}}"}}, + {".r", {"@ratfor"}}, {"@ratfor", - "ratfor %{C} %{v}\ + {"ratfor %{C} %{v}\ %{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} -fset-g77-defaults %(f771) \ + "%{!E:f771 %{!pipe:%g.f} -fset-g77-defaults %(f771) \ %{!Q:-quiet} -dumpbase %b.r %{d*} %{m*} %{a}\ %{g*} %{O*} %{W*} %{w} %{pedantic*} \ %{v:-version -fversion} %{pg:-p} %{p} %{f*} %{I*}\ @@ -76,11 +76,11 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\ %{!S:as %a %Y\ %{c:%W{o*}%{!o*:-o %w%b" OO "}}%{!c:-o %d%w%u" OO "}\ - %{!pipe:%g.s} %A\n }}"}, - {".f", "@f77"}, - {".for", "@f77"}, + %{!pipe:%g.s} %A\n }}"}}, + {".f", {"@f77"}}, + {".for", {"@f77"}}, {"@f77", - "%{!M:%{!MM:%{!E:f771 %i -fset-g77-defaults %(f771) \ + {"%{!M:%{!MM:%{!E:f771 %i -fset-g77-defaults %(f771) \ %{!Q:-quiet} -dumpbase %b.f %{d*} %{m*} %{a}\ %{g*} %{O*} %{W*} %{w} %{pedantic*}\ %{v:-version -fversion} %{pg:-p} %{p} %{f*} %{I*}\ @@ -89,7 +89,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\ %{!S:as %a %Y\ %{c:%W{o*}%{!o*:-o %w%b" OO "}}%{!c:-o %d%w%u" OO "}\ - %{!pipe:%g.s} %A\n }}}}"}, + %{!pipe:%g.s} %A\n }}}}"}}, #undef OO