+2002-06-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/6809
+ * print-rtl.c (print_mem_expr): Don't crash on unnamed fields.
+
2002-06-10 Jakub Jelinek <jakub@redhat.com>
* varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
print_mem_expr (outfile, TREE_OPERAND (expr, 0));
else
fputs (" <variable>", outfile);
- fprintf (outfile, ".%s",
- IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (expr, 1))));
+ if (DECL_NAME (TREE_OPERAND (expr, 1)))
+ fprintf (outfile, ".%s",
+ IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (expr, 1))));
}
else if (DECL_NAME (expr))
fprintf (outfile, " %s", IDENTIFIER_POINTER (DECL_NAME (expr)));
* g++.dg/opt/vt1.C: New test.
+ * gcc.dg/20020530-1.c: New test.
+
2002-05-29 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20020529-1.c: New test.