From 90b4710b243d238c57972be3058f539fe97b2849 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 12 Mar 1998 00:43:13 +0000 Subject: [PATCH] =?utf8?q?=EF=BF=BD=20In=20gcc/:=20=09*=20i386.h=20(RTX=5F?= =?utf8?q?COSTS):=20Insert=20braces=20around=20nested=20if.=20=09(ADDITION?= =?utf8?q?AL=5FREGISTER=5FNAMES):=20Insert=20braces=20around=20structured?= =?utf8?q?=20=09elements.=20=09*=20gcc.c=20(default=5Fcompilers):=20Proper?= =?utf8?q?ly=20put=20brackets=20around=20array=20elements=20in=20=09initia?= =?utf8?q?lizer.=20=09*=20getopt.c=20(=5Fgetopt=5Finternal):=20Add=20expli?= =?utf8?q?cit=20braces=20around=20nested=20if;=20=09reformatted.=20=09*=20?= =?utf8?q?reg-stack.c=20(record=5Fasm=5Freg=5Flife):=20Add=20explicit=20br?= =?utf8?q?aces=20around=20nested=20if's.=20=09(record=5Freg=5Flife=5Fpat):?= =?utf8?q?=20Add=20explicit=20parens=20around=20&&=20and=20||=20in=20expre?= =?utf8?q?ssion.=20=09(stack=5Freg=5Flife=5Fanalysis):=20Add=20parens=20ar?= =?utf8?q?ound=20assignment=20used=20as=20expression.=20=09(convert=5Fregs?= =?utf8?q?):=20Likewise.=20In=20gcc/cp/:=20=09*=20lang-specs.h:=20Properly?= =?utf8?q?=20put=20brackets=20around=20array=20elements=20in=20initializer?= =?utf8?q?.=20=09*=20typeck.c=20(build=5Fbinary=5Fop=5Fnodefault):=20Corre?= =?utf8?q?ctly=20place=20parens=20around=20=09&&=20and=20||=20in=20express?= =?utf8?q?ion.=20In=20gcc/f/:=20=09*=20lang-specs.h:=20Properly=20put=20br?= =?utf8?q?ackets=20around=20array=20elements=20in=20initializer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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 a51e2a6ba9a..c9419c33e20 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 -- 2.30.2