diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2016-11-15 10:54:12 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2016-11-15 10:54:12 +0000 |
commit | e17689cd8fe495c55cdcedcc1030dae6aef2c4b5 (patch) | |
tree | 26028f2b9ddf2563efefacfd91ecd0b61f968d8d | |
parent | 47e5d7ccf12c5d11abdd18e8e9089735e4fd3d05 (diff) | |
download | gcc-e17689cd8fe495c55cdcedcc1030dae6aef2c4b5.tar.gz |
Fix a GET_MODE_CLASS typo in mem_loc_descriptor
It should have been checking the size instead.
gcc/
2016-11-15 Richard Sandiford <richard.sandiford@arm.com>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
* dwarf2out.c (mem_loc_descriptor): Fix GET_MODE_CLASS/
GET_MODE_SIZE typo.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r242409
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0044469e970..d41f6245233 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2016-11-15 Richard Sandiford <richard.sandiford@arm.com> + +2016-11-15 Richard Sandiford <richard.sandiford@arm.com> + Alan Hayward <alan.hayward@arm.com> + David Sherwood <david.sherwood@arm.com> + + * dwarf2out.c (mem_loc_descriptor): Fix GET_MODE_CLASS/ + GET_MODE_SIZE typo. + 2016-11-14 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_expand_vector_set): Add support diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 58a5e1ad2ff..a7344ca0136 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -14976,7 +14976,7 @@ mem_loc_descriptor (rtx rtl, machine_mode mode, if ((!dwarf_strict || dwarf_version >= 5) && SCALAR_INT_MODE_P (mode)) { - if (GET_MODE_CLASS (mode) > DWARF2_ADDR_SIZE) + if (GET_MODE_SIZE (mode) > DWARF2_ADDR_SIZE) { op = DW_OP_div; goto do_binop; |