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-Tag: upstream/12.2.0~43335 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e17689cd8fe495c55cdcedcc1030dae6aef2c4b5;p=platform%2Fupstream%2Fgcc.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 0044469..d41f624 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 58a5e1a..a7344ca 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;