This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] Supress spurious messages from -fwhopr


Currently, -fwhopr verbosity is confusing the testsuites.  Fixed
with this.


Diego.


	* lto.c (lto_wpa_write_files): Reformat do-while loop.
	Do not print TEMP_FILENAME
	* ltrans-driver: Call make with -s.

Index: lto/lto.c
===================================================================
--- lto/lto.c	(revision 141130)
+++ lto/lto.c	(working copy)
@@ -639,17 +639,18 @@ lto_wpa_write_files (void)
       size_t len = needed;
       char * temp_filename = XNEWVEC (char, len);
 
-      do {
-	if (needed > len)
-	  {
-	    len = needed;
-	    temp_filename = XRESIZEVEC (char, temp_filename, len);
-	  }
-	needed = snprintf (temp_filename, len, "bogus%d.lto.o", i);
-      } while (needed >= len);
+      do 
+	{
+	  if (needed > len)
+	    {
+	      len = needed;
+	      temp_filename = XRESIZEVEC (char, temp_filename, len);
+	    }
+	  needed = snprintf (temp_filename, len, "bogus%d.lto.o", i);
+	}
+      while (needed >= len);
 
       output_files[i] = temp_filename;
-      fprintf (stderr, "output to %s\n", temp_filename);
 
       file = lto_elf_file_open (temp_filename, /*writable=*/true);
       if (!file)
Index: lto/ltrans-driver
===================================================================
--- lto/ltrans-driver	(revision 141130)
+++ lto/ltrans-driver	(working copy)
@@ -62,4 +62,4 @@ done
 
 echo "all: $outputlist" >> $makefile
 
-${MAKE-make} -f $makefile all
+${MAKE-make} -s -f $makefile all


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]