OSDN Git Service

* dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Apr 2011 11:16:20 +0000 (11:16 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Apr 2011 11:16:20 +0000 (11:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171905 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 4be06bf..bbd090c 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-03  Alan Modra  <amodra@gmail.com>
+
+       * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM.
+
 2011-04-03  Michael Matz  <matz@suse.de>
 
        * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not
index 222f6bf..700f7c6 100644 (file)
@@ -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