diff options
author | Roland McGrath <mcgrathr@google.com> | 2013-03-26 16:43:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gcc.gnu.org> | 2013-03-26 16:43:09 +0000 |
commit | 6f33817e6ae3515ef30a0d0d0e740f56479dd882 (patch) | |
tree | 265b73604638e193258d155223d1a995fac12204 /gcc | |
parent | 93a4145ba1de31ddc35ace4aac8facbb869c6c49 (diff) | |
download | gcc-6f33817e6ae3515ef30a0d0d0e740f56479dd882.zip gcc-6f33817e6ae3515ef30a0d0d0e740f56479dd882.tar.gz gcc-6f33817e6ae3515ef30a0d0d0e740f56479dd882.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <mcgrathr@google.com> + + * 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 <ubizjak@gmail.com> * 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; |