Commit 3a204175 by Kaveh R. Ghazi Committed by Kaveh Ghazi

re PR other/35070 (-fverbose-asm has bogus asm output (mpfr library warning))

	PR other/35070
	* toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.

From-SVN: r132123
parent 7074bc2e
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
......
......@@ -1185,7 +1185,7 @@ print_version (FILE *file, const char *indent)
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__
......@@ -1215,10 +1215,12 @@ print_version (FILE *file, const char *indent)
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,
indent, *indent != 0 ? " " : "",
"MPFR", MPFR_VERSION_STRING, mpfr_get_version ());
fprintf (file,
file == stderr ? _(fmt4) : fmt4,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment