arm.c (arm_print_operand, thumb_exit): Make sure GET_MODE_SIZE argument is enum machi...
authorZhenqiang Chen <zhenqiang.chen@linaro.org>
Tue, 22 Apr 2014 08:12:22 +0000 (08:12 +0000)
committerZhenqiang Chen <zqchen@gcc.gnu.org>
Tue, 22 Apr 2014 08:12:22 +0000 (08:12 +0000)
2014-04-22  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
GET_MODE_SIZE argument is enum machine_mode.

From-SVN: r209556

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

index cc2732d017a1bea66187db71f8a5d8c12948d902..df12253031f70e21b2302cb5838fd87a077a8203 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-22  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
+
+       * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
+       GET_MODE_SIZE argument is enum machine_mode.
+
 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/60910
index 773c353ba0996cd4601aecf743f4b4306526ee9b..822060dd2f3278191cca5e4ff7802eba675d1949 100644 (file)
@@ -21427,7 +21427,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
        register.  */
     case 'p':
       {
-        int mode = GET_MODE (x);
+        enum machine_mode mode = GET_MODE (x);
         int regno;
 
         if (GET_MODE_SIZE (mode) != 8 || !REG_P (x))
@@ -21451,7 +21451,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
     case 'P':
     case 'q':
       {
-       int mode = GET_MODE (x);
+       enum machine_mode mode = GET_MODE (x);
        int is_quad = (code == 'q');
        int regno;
 
@@ -21487,7 +21487,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
     case 'e':
     case 'f':
       {
-        int mode = GET_MODE (x);
+        enum machine_mode mode = GET_MODE (x);
         int regno;
 
         if ((GET_MODE_SIZE (mode) != 16
@@ -21620,7 +21620,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
     /* Translate an S register number into a D register number and element index.  */
     case 'y':
       {
-        int mode = GET_MODE (x);
+        enum machine_mode mode = GET_MODE (x);
         int regno;
 
         if (GET_MODE_SIZE (mode) != 4 || !REG_P (x))
@@ -21654,7 +21654,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
        number into a D register number and element index.  */
     case 'z':
       {
-        int mode = GET_MODE (x);
+        enum machine_mode mode = GET_MODE (x);
         int regno;
 
         if (GET_MODE_SIZE (mode) != 2 || !REG_P (x))
@@ -25894,7 +25894,7 @@ thumb_exit (FILE *f, int reg_containing_return_addr)
   int pops_needed;
   unsigned available;
   unsigned required;
-  int mode;
+  enum machine_mode mode;
   int size;
   int restore_a4 = FALSE;