From a78d13c3e845bd4b5629b0c810de4d8781bd46b4 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 1 Jun 2011 16:21:06 +0200 Subject: [PATCH] dwarf2out.c (mem_loc_descriptor): Call base_type_for_mode with op_mode instead of mode. * dwarf2out.c (mem_loc_descriptor) : Call base_type_for_mode with op_mode instead of mode. From-SVN: r174527 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 888c7e247f1..6ff07a34c14 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-01 Jakub Jelinek + + * dwarf2out.c (mem_loc_descriptor) : Call + base_type_for_mode with op_mode instead of mode. + 2011-06-01 Paul Brook * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 464de166f37..14eec3a084b 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -14685,7 +14685,7 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, } else { - dw_die_ref type_die = base_type_for_mode (mode, 1); + dw_die_ref type_die = base_type_for_mode (op_mode, 1); dw_loc_descr_ref cvt; if (type_die == NULL) -- 2.30.2