From: Jeff Law Date: Thu, 14 Sep 2000 16:46:10 +0000 (-0600) Subject: reload.c (debug_reload_to_stream): Send all output to the requested stream or stderr... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2ee8ec26572c30952814fe3ccf46454e6ee65bf;p=platform%2Fupstream%2Fgcc.git reload.c (debug_reload_to_stream): Send all output to the requested stream or stderr if... * reload.c (debug_reload_to_stream): Send all output to the requested stream or stderr if no stream was explicitly requested. From-SVN: r36410 --- diff --git a/gcc/reload.c b/gcc/reload.c index 848a40d..1737ac4 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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");