diff options
author | Jeff Law <law@redhat.com> | 2015-11-10 14:11:07 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-11-10 14:11:07 -0700 |
commit | 732ea6d11de9ab398e14e6e2057c06835716fc0b (patch) | |
tree | 1b7bc4d357e1c544a96f1972e3359f29aae834dc /gcc | |
parent | 1840c9539a235029d6e1955fa8f280bc6f24eb23 (diff) | |
download | gcc-732ea6d11de9ab398e14e6e2057c06835716fc0b.zip gcc-732ea6d11de9ab398e14e6e2057c06835716fc0b.tar.gz gcc-732ea6d11de9ab398e14e6e2057c06835716fc0b.tar.bz2 |
[PATCH] Fix minor fallout from operand_address changes
2015-11-10 Jeff Law <law@redhat.com>
* config/ft32/ft32.c (ft32_print_operand): Supply mode to
call to output_address.
* config/moxie/moxie.c (moxie_print_operand_address): Similarly.
Add unnamed machine_mode argument.
From-SVN: r230130
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/ft32/ft32.c | 2 | ||||
-rw-r--r-- | gcc/config/moxie/moxie.c | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c966e7..84481ef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-11-10 Jeff Law <law@redhat.com> + + * config/ft32/ft32.c (ft32_print_operand): Supply mode to + call to output_address. + * config/moxie/moxie.c (moxie_print_operand_address): Similarly. + Add unnamed machine_mode argument. + 2015-11-10 Michael Meissner <meissner@linux.vnet.ibm.com> * config.gcc (powerpc*-*-*, rs6000*-*-*): Add power9 to hosts that diff --git a/gcc/config/ft32/ft32.c b/gcc/config/ft32/ft32.c index 85e5ba3..ab62061 100644 --- a/gcc/config/ft32/ft32.c +++ b/gcc/config/ft32/ft32.c @@ -238,7 +238,7 @@ ft32_print_operand (FILE * file, rtx x, int code) return; case MEM: - output_address (XEXP (operand, 0)); + output_address (GET_MODE (XEXP (operand, 0)), XEXP (operand, 0)); return; default: diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c index a45b825..756e2f7 100644 --- a/gcc/config/moxie/moxie.c +++ b/gcc/config/moxie/moxie.c @@ -106,7 +106,7 @@ moxie_operand_lossage (const char *msgid, rtx op) /* The PRINT_OPERAND_ADDRESS worker. */ static void -moxie_print_operand_address (FILE *file, rtx x) +moxie_print_operand_address (FILE *file, machine_mode, rtx x) { switch (GET_CODE (x)) { @@ -183,7 +183,7 @@ moxie_print_operand (FILE *file, rtx x, int code) return; case MEM: - output_address (XEXP (operand, 0)); + output_address (GET_MODE (XEXP (operand, 0)), XEXP (operand, 0)); return; default: |