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/toplev.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/toplev.c')
-rw-r--r-- | gcc/toplev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 8a3c4f2..cf035d8 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -711,7 +711,7 @@ output_file_directive (FILE *asm_file, const char *input_name) #else fprintf (asm_file, "\t.file\t"); output_quoted_string (asm_file, na); - fputc ('\n', asm_file); + putc ('\n', asm_file); #endif } @@ -1271,7 +1271,7 @@ print_to_asm_out_file (print_switch_type type, const char * text) case SWITCH_TYPE_ENABLED: if (prepend_sep) fputc (' ', asm_out_file); - fprintf (asm_out_file, text); + fputs (text, asm_out_file); /* No need to return the length here as print_single_switch has already done it. */ return 0; @@ -1300,7 +1300,7 @@ print_to_stderr (print_switch_type type, const char * text) /* Drop through. */ case SWITCH_TYPE_DESCRIPTIVE: - fprintf (stderr, text); + fputs (text, stderr); /* No need to return the length here as print_single_switch has already done it. */ return 0; @@ -1460,7 +1460,7 @@ init_asm_output (const char *name) into the assembler file as comments. */ print_version (asm_out_file, ASM_COMMENT_START); print_switch_values (print_to_asm_out_file); - fprintf (asm_out_file, "\n"); + putc ('\n', asm_out_file); } #endif } |