diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index ccba7498c37..7b7475489e3 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1198,13 +1198,8 @@ print_version (FILE *file, const char *indent) N_("%s%s%s %sversion %s (%s) compiled by CC, ") #endif ; -#ifdef HAVE_mpc static const char fmt2[] = N_("GMP version %s, MPFR version %s, MPC version %s\n"); -#else - static const char fmt2[] = - N_("GMP version %s, MPFR version %s\n"); -#endif static const char fmt3[] = N_("%s%swarning: %s header version %s differs from library version %s.\n"); static const char fmt4[] = @@ -1236,11 +1231,7 @@ print_version (FILE *file, const char *indent) #endif fprintf (file, file == stderr ? _(fmt2) : fmt2, - GCC_GMP_STRINGIFY_VERSION, MPFR_VERSION_STRING -#ifdef HAVE_mpc - , MPC_VERSION_STRING -#endif - ); + GCC_GMP_STRINGIFY_VERSION, MPFR_VERSION_STRING, MPC_VERSION_STRING); if (strcmp (GCC_GMP_STRINGIFY_VERSION, gmp_version)) fprintf (file, file == stderr ? _(fmt3) : fmt3, @@ -1251,13 +1242,11 @@ print_version (FILE *file, const char *indent) file == stderr ? _(fmt3) : fmt3, indent, *indent != 0 ? " " : "", "MPFR", MPFR_VERSION_STRING, mpfr_get_version ()); -#ifdef HAVE_mpc if (strcmp (MPC_VERSION_STRING, mpc_get_version ())) fprintf (file, file == stderr ? _(fmt3) : fmt3, indent, *indent != 0 ? " " : "", "MPC", MPC_VERSION_STRING, mpc_get_version ()); -#endif fprintf (file, file == stderr ? _(fmt4) : fmt4, indent, *indent != 0 ? " " : "", |