diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2009-09-10 18:21:45 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2009-09-10 18:21:45 +0200 |
commit | edb30094a6924e960d88f70aec56d767719aab19 (patch) | |
tree | 31c9fdbe7bb2efe370625610c20193438b280c38 /gcc/tree-switch-conversion.c | |
parent | f3d9e91bccfac76d92b48ea45a0b4e3056638a33 (diff) | |
download | gcc-edb30094a6924e960d88f70aec56d767719aab19.tar.gz |
ira-conflicts.c: Use fputs or putc instead of fprintf where appropriate.
* ira-conflicts.c: Use fputs or putc instead of fprintf
where appropriate.
* cfg.c: Ditto.
* toplev.c: Ditto.
* tree-switch-conversion.c: Ditto.
From-SVN: r151598
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); } } } |