* dwarf2out.c (rtl_for_decl_location): Don't try to extract a
constant value from DECL_INITIAL.
From-SVN: r53261
+2002-05-07 Jason Merrill <jason@redhat.com>
+
+ * dwarf2out.c (rtl_for_decl_location): Don't try to extract a
+ constant value from DECL_INITIAL.
+
2002-05-07 Richard Henderson <rth@redhat.com>
PR c++/6212
rtl = gen_rtx_CONST_STRING (VOIDmode, TREE_STRING_POINTER (init));
}
+#if 0
+ /* We mustn't actually emit anything here, as we might not get a
+ chance to emit any symbols we refer to. For the release, don't
+ try to get this right. */
if (rtl == NULL)
{
rtl = expand_expr (DECL_INITIAL (decl), NULL_RTX, VOIDmode,
if (rtl && GET_CODE (rtl) == MEM)
rtl = NULL;
}
+#endif
}
#ifdef ASM_SIMPLIFY_DWARF_ADDR