From: Richard Sandiford Date: Tue, 15 Nov 2016 10:54:12 +0000 (+0000) Subject: Fix a GET_MODE_CLASS typo in mem_loc_descriptor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e17689cd8fe495c55cdcedcc1030dae6aef2c4b5;p=gcc.git Fix a GET_MODE_CLASS typo in mem_loc_descriptor It should have been checking the size instead. gcc/ 2016-11-15 Richard Sandiford Alan Hayward David Sherwood * dwarf2out.c (mem_loc_descriptor): Fix GET_MODE_CLASS/ GET_MODE_SIZE typo. Co-Authored-By: Alan Hayward Co-Authored-By: David Sherwood From-SVN: r242409 --- 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 + +2016-11-15 Richard Sandiford + Alan Hayward + David Sherwood + + * dwarf2out.c (mem_loc_descriptor): Fix GET_MODE_CLASS/ + GET_MODE_SIZE typo. + 2016-11-14 Michael Meissner * 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;