diff options
author | Zhenqiang Chen <zhenqiang.chen@linaro.org> | 2014-04-22 08:12:22 +0000 |
---|---|---|
committer | Zhenqiang Chen <zqchen@gcc.gnu.org> | 2014-04-22 08:12:22 +0000 |
commit | 35923e4673ab30843531809e3bf3a79b49bf9c2f (patch) | |
tree | 6e155624fb4297a20c5f38b22ce5d989b030e906 /gcc | |
parent | 4552e70cf784417acd6d04809691e00aa0810831 (diff) | |
download | gcc-35923e4673ab30843531809e3bf3a79b49bf9c2f.zip gcc-35923e4673ab30843531809e3bf3a79b49bf9c2f.tar.gz gcc-35923e4673ab30843531809e3bf3a79b49bf9c2f.tar.bz2 |
arm.c (arm_print_operand, thumb_exit): Make sure GET_MODE_SIZE argument is enum machine_mode.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc2732d..df12253 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 773c353..822060d 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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; |