* toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132123
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ PR other/35070
+ * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
+
2008-02-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/35084
2008-02-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/35084
static const char fmt2[] =
N_("GMP version %s, MPFR version %s.\n");
static const char fmt3[] =
static const char fmt2[] =
N_("GMP version %s, MPFR version %s.\n");
static const char fmt3[] =
- N_("warning: %s header version %s differs from library version %s.\n");
+ N_("%s%swarning: %s header version %s differs from library version %s.\n");
static const char fmt4[] =
N_("%s%sGGC heuristics: --param ggc-min-expand=%d --param ggc-min-heapsize=%d\n");
#ifndef __VERSION__
static const char fmt4[] =
N_("%s%sGGC heuristics: --param ggc-min-expand=%d --param ggc-min-heapsize=%d\n");
#ifndef __VERSION__
if (strcmp (GCC_GMP_STRINGIFY_VERSION, gmp_version))
fprintf (file,
file == stderr ? _(fmt3) : fmt3,
if (strcmp (GCC_GMP_STRINGIFY_VERSION, gmp_version))
fprintf (file,
file == stderr ? _(fmt3) : fmt3,
+ indent, *indent != 0 ? " " : "",
"GMP", GCC_GMP_STRINGIFY_VERSION, gmp_version);
if (strcmp (MPFR_VERSION_STRING, mpfr_get_version ()))
fprintf (file,
file == stderr ? _(fmt3) : fmt3,
"GMP", GCC_GMP_STRINGIFY_VERSION, gmp_version);
if (strcmp (MPFR_VERSION_STRING, mpfr_get_version ()))
fprintf (file,
file == stderr ? _(fmt3) : fmt3,
+ indent, *indent != 0 ? " " : "",
"MPFR", MPFR_VERSION_STRING, mpfr_get_version ());
fprintf (file,
file == stderr ? _(fmt4) : fmt4,
"MPFR", MPFR_VERSION_STRING, mpfr_get_version ());
fprintf (file,
file == stderr ? _(fmt4) : fmt4,