]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/35070 (-fverbose-asm has bogus asm output (mpfr library warning))
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 5 Feb 2008 16:23:10 +0000 (16:23 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 5 Feb 2008 16:23:10 +0000 (16:23 +0000)
PR other/35070
* toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.

From-SVN: r132123

gcc/ChangeLog
gcc/toplev.c

index 0b612337426c612b3d0e31c661d5abf95c5b67a4..84c085694c1aef8626ba0eb0c95e87ea976ce996 100644 (file)
@@ -1,3 +1,8 @@
+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
index 63b387f0934e94e28f1569a4f6f9204ce2faba69..512e0fb870892433d99c42d2e6aa737f577ba450 100644 (file)
@@ -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,