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/ira-conflicts.c | |
parent | f3d9e91bccfac76d92b48ea45a0b4e3056638a33 (diff) | |
download | gcc-edb30094a6924e960d88f70aec56d767719aab19.zip gcc-edb30094a6924e960d88f70aec56d767719aab19.tar.gz gcc-edb30094a6924e960d88f70aec56d767719aab19.tar.bz2 |
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/ira-conflicts.c')
-rw-r--r-- | gcc/ira-conflicts.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ira-conflicts.c b/gcc/ira-conflicts.c index bce5c7f..6d84e56 100644 --- a/gcc/ira-conflicts.c +++ b/gcc/ira-conflicts.c @@ -662,7 +662,7 @@ print_hard_reg_set (FILE *file, const char *title, HARD_REG_SET set) { int i, start; - fprintf (file, title); + fputs (title, file); for (start = -1, i = 0; i < FIRST_PSEUDO_REGISTER; i++) { if (TEST_HARD_REG_BIT (set, i)) @@ -682,7 +682,7 @@ print_hard_reg_set (FILE *file, const char *title, HARD_REG_SET set) start = -1; } } - fprintf (file, "\n"); + putc ('\n', file); } /* Print information about allocno or only regno (if REG_P) conflicts @@ -709,9 +709,9 @@ print_conflicts (FILE *file, bool reg_p) fprintf (file, "b%d", bb->index); else fprintf (file, "l%d", ALLOCNO_LOOP_TREE_NODE (a)->loop->num); - fprintf (file, ")"); + putc (')', file); } - fprintf (file, " conflicts:"); + fputs (" conflicts:", file); if (ALLOCNO_CONFLICT_ALLOCNO_ARRAY (a) != NULL) FOR_EACH_ALLOCNO_CONFLICT (a, conflict_a, aci) { @@ -743,7 +743,7 @@ print_conflicts (FILE *file, bool reg_p) print_hard_reg_set (file, ";; conflict hard regs:", conflicting_hard_regs); } - fprintf (file, "\n"); + putc ('\n', file); } /* Print information about allocno or only regno (if REG_P) conflicts |