re PR middle-end/42834 (memcpy folding overeager)
[gcc.git] / gcc / dwarf2out.c
index a72771df2f8cd5e112028910f0dcd720a9190f91..3faa175485999a907b2a45695b73b7f2ca84361c 100644 (file)
@@ -15160,6 +15160,11 @@ loc_list_from_tree (tree loc, int want_address)
       }
       break;
 
+    case MEM_REF:
+      /* ??? FIXME.  */
+      if (!integer_zerop (TREE_OPERAND (loc, 1)))
+       return 0;
+      /* Fallthru.  */
     case INDIRECT_REF:
     case ALIGN_INDIRECT_REF:
     case MISALIGNED_INDIRECT_REF: