diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81e06fb3b4fb8c9b61d2e38564517d965dd99c6d..5231a9c467c1be92f280da7f7ad725ed8fc4fe92 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/gcc.c b/gcc/gcc.c index c09285b6270860eaf402a476e42848850a312746..cdc1142990eb5bd4fb06904c36b23f69c0c491d8 100644 --- 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}\