From: Roland McGrath Date: Tue, 26 Mar 2013 16:43:09 +0000 (+0000) Subject: arm.c (arm_print_operand: case 'w'): Use fputs rather than fprintf with a non-constan... X-Git-Tag: upstream/12.2.0~70659 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f33817e6ae3515ef30a0d0d0e740f56479dd882;p=platform%2Fupstream%2Fgcc.git arm.c (arm_print_operand: case 'w'): Use fputs rather than fprintf with a non-constant, non-format string. * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather than fprintf with a non-constant, non-format string. From-SVN: r197115 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6937c44..5015d16 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-26 Roland McGrath + + * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather + than fprintf with a non-constant, non-format string. + 2013-03-26 Uros Bizjak * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index d70df4d..21020b9 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -17997,7 +17997,7 @@ arm_print_operand (FILE *stream, rtx x, int code) "wC12", "wC13", "wC14", "wC15" }; - fprintf (stream, wc_reg_names [INTVAL (x)]); + fputs (wc_reg_names [INTVAL (x)], stream); } return;