arm.c (arm_print_operand: case 'w'): Use fputs rather than fprintf with a non-constan...
authorRoland McGrath <mcgrathr@google.com>
Tue, 26 Mar 2013 16:43:09 +0000 (16:43 +0000)
committerRoland McGrath <roland@gcc.gnu.org>
Tue, 26 Mar 2013 16:43:09 +0000 (16:43 +0000)
* config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather
than fprintf with a non-constant, non-format string.

From-SVN: r197115

gcc/ChangeLog
gcc/config/arm/arm.c

index 6937c44..5015d16 100644 (file)
@@ -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
index d70df4d..21020b9 100644 (file)
@@ -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;