summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'loc2c.c')
-rw-r--r--loc2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loc2c.c b/loc2c.c
index 5f4e4495..15434632 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -1745,7 +1745,8 @@ c_translate_array (struct obstack *pool, int indent,
Dwarf_Die *typedie, struct location **input,
const char *idx, Dwarf_Word const_idx)
{
- assert (dwarf_tag (typedie) == DW_TAG_array_type);
+ assert (dwarf_tag (typedie) == DW_TAG_array_type ||
+ dwarf_tag (typedie) == DW_TAG_pointer_type);
++indent;