reload.c (debug_reload_to_stream): Send all output to the requested stream or stderr...
authorJeff Law <law@gcc.gnu.org>
Thu, 14 Sep 2000 16:46:10 +0000 (10:46 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 14 Sep 2000 16:46:10 +0000 (10:46 -0600)
        * reload.c (debug_reload_to_stream): Send all output to the
        requested stream or stderr if no stream was explicitly requested.

From-SVN: r36410

gcc/reload.c

index 848a40d..1737ac4 100644 (file)
@@ -6641,7 +6641,7 @@ debug_reload_to_stream (f)
        fprintf (f, ", optional");
 
       if (rld[r].nongroup)
-       fprintf (stderr, ", nongroup");
+       fprintf (f, ", nongroup");
 
       if (rld[r].inc != 0)
        fprintf (f, ", inc by %d", rld[r].inc);
@@ -6685,13 +6685,13 @@ debug_reload_to_stream (f)
       prefix = "\n\t";
       if (rld[r].secondary_in_icode != CODE_FOR_nothing)
        {
-         fprintf (stderr, "%ssecondary_in_icode = %s", prefix,
+         fprintf (f, "%ssecondary_in_icode = %s", prefix,
                   insn_data[rld[r].secondary_in_icode].name);
          prefix = ", ";
        }
 
       if (rld[r].secondary_out_icode != CODE_FOR_nothing)
-       fprintf (stderr, "%ssecondary_out_icode = %s", prefix,
+       fprintf (f, "%ssecondary_out_icode = %s", prefix,
                 insn_data[rld[r].secondary_out_icode].name);
 
       fprintf (f, "\n");