diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-10 16:21:45 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-10 16:21:45 +0000 |
commit | 609e7ca133d200aa650f5df3b1c0b84b3266cfe3 (patch) | |
tree | 31c9fdbe7bb2efe370625610c20193438b280c38 /gcc/tree-switch-conversion.c | |
parent | 975effd97f2ee817cde03d9357441d6f7f43c5fe (diff) | |
download | gcc-609e7ca133d200aa650f5df3b1c0b84b3266cfe3.tar.gz |
* ira-conflicts.c: Use fputs or putc instead of fprintf
where appropriate.
* cfg.c: Ditto.
* toplev.c: Ditto.
* tree-switch-conversion.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-switch-conversion.c')
-rw-r--r-- | gcc/tree-switch-conversion.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c index 1309e822fe2..3409ef83259 100644 --- a/gcc/tree-switch-conversion.c +++ b/gcc/tree-switch-conversion.c @@ -875,7 +875,7 @@ do_switchconv (void) "SWITCH statement (%s:%d) : ------- \n", loc.file, loc.line); print_gimple_stmt (dump_file, stmt, 0, TDF_SLIM); - fprintf (dump_file, "\n"); + putc ('\n', dump_file); } info.reason = NULL; @@ -883,8 +883,8 @@ do_switchconv (void) { if (dump_file) { - fprintf (dump_file, "Switch converted\n"); - fprintf (dump_file, "--------------------------------\n"); + fputs ("Switch converted\n", dump_file); + fputs ("--------------------------------\n", dump_file); } } else @@ -892,9 +892,9 @@ do_switchconv (void) if (dump_file) { gcc_assert (info.reason); - fprintf (dump_file, "Bailing out - "); - fprintf (dump_file, info.reason); - fprintf (dump_file, "--------------------------------\n"); + fputs ("Bailing out - ", dump_file); + fputs (info.reason, dump_file); + fputs ("--------------------------------\n", dump_file); } } } |