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 6937c44c202b52338b68a4850c0b638d80976096..5015d16f75266f3cb52298a6780b800584009550 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 d70df4da070808aaf060bea21661a6fcac950044..21020b9b9b1e4153e914b6d893e8c38726f34bed 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;