From: Alan Modra Date: Sun, 3 Apr 2011 11:16:20 +0000 (+0930) Subject: dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9a5b5b2a2771889f315d778629dc7e6245a69cf;p=gcc.git dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. From-SVN: r171905 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4be06bf4a6b..bbd090cee3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-04-03 Alan Modra + + * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. + 2011-04-03 Michael Matz * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 222f6bf0c8e..700f7c64bd3 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13706,9 +13706,7 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, break; case LO_SUM: - rtl = XEXP (rtl, 1); - - /* ... fall through ... */ + return mem_loc_descriptor (XEXP (rtl, 1), mode, initialized); case LABEL_REF: /* Some ports can transform a symbol ref into a label ref, because