OSDN Git Service

* gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Aug 1997 21:15:15 +0000 (21:15 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Aug 1997 21:15:15 +0000 (21:15 +0000)
        predefines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14822 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index 81e06fb..5231a9c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug 17 15:15:53 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__
+       predefines.
+
 Sat Aug 16 01:08:12 1997  Jeffrey A Law  (law@cygnus.com)
 
        * loop.c (is_power_of_2, is_conditional_branch): Delete unused
index c09285b..cdc1142 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -595,6 +595,7 @@ static struct compiler default_compilers[] =
        %{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\
+       -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\
        %{ansi:-trigraphs -D__STRICT_ANSI__}\
        %{!undef:%{!ansi:%p} %P} %{trigraphs} \
         %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\
@@ -616,6 +617,7 @@ static struct compiler default_compilers[] =
        %{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\
+        -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\
        %{ansi:-trigraphs -D__STRICT_ANSI__}\
        %{!undef:%{!ansi:%p} %P} %{trigraphs}\
         %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\
@@ -629,6 +631,7 @@ static struct compiler default_compilers[] =
        %{C:%{!E:%eGNU C does not support -C without using -E}}\
        %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\
         -undef -D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\
+       -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\
         %{ansi:-trigraphs -D__STRICT_ANSI__}\
        %{!undef:%{!ansi:%p} %P} %{trigraphs}\
         %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\
@@ -653,6 +656,7 @@ static struct compiler default_compilers[] =
        %{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\
+        -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\
         %{ansi:-trigraphs -D__STRICT_ANSI__}\
        %{!undef:%{!ansi:%p} %P} %{trigraphs}\
         %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\