From ca242225a052a71523d9b836950e1fc3e77fc16c Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Thu, 25 Jun 1998 08:24:04 +0000 Subject: [PATCH] gcc.c (default_compilers): Use new | syntax to eliminate string concatenation. Thu Jun 25 11:12:29 1998 Dave Brolley * gcc.c (default_compilers): Use new | syntax to eliminate string concatenation. From-SVN: r20711 --- gcc/ChangeLog | 5 +++++ gcc/gcc.c | 11 +++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6918eb95575..4ca5d514abf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 25 11:12:29 1998 Dave Brolley + + * gcc.c (default_compilers): Use new | syntax to eliminate + string concatenation. + Thu Jun 25 01:00:48 1998 Richard Henderson * alpha.c (alpha_function_name): Delete. diff --git a/gcc/gcc.c b/gcc/gcc.c index 3fd700aa707..f9cd0efb945 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -602,8 +602,7 @@ static struct compiler default_compilers[] = {"@c", { #if USE_CPPLIB -#define CPP_FOR_C \ - "cpp -lang-c%{ansi:89} %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ + "%{E|M|MM:cpp -lang-c%{ansi:89} %{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\ @@ -613,12 +612,8 @@ static struct compiler default_compilers[] = %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ - %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n" - - "%{E:"CPP_FOR_C"}" - "%{!E:%{M:"CPP_FOR_C"}" - "%{!M:%{MM:"CPP_FOR_C"}" - "%{!MM:cc1 %i %1 \ + %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}\ + %{!E:%{!M:%{!MM:cc1 %i %1 \ -lang-c%{ansi:89} %{nostdinc*} %{A*} %{I*} %I\ %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\ %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -- 2.30.2