aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>2000-06-25 17:27:28 +0000
committerBernd Schmidt <crux@gcc.gnu.org>2000-06-25 17:27:28 +0000
commit4061f623a6ab220259c77be5f97617a05aa67d51 (patch)
tree522edcaf344f0a935b66520b90ff7de25127be81 /gcc/dwarf2out.c
parentf1ff439a50500c09c7f8016ca00dfe0bfd1109a2 (diff)
downloadgcc-4061f623a6ab220259c77be5f97617a05aa67d51.zip
gcc-4061f623a6ab220259c77be5f97617a05aa67d51.tar.gz
gcc-4061f623a6ab220259c77be5f97617a05aa67d51.tar.bz2
Vector support: type node creation & debugging support
From-SVN: r34696
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 58be8c4..9757a63 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -4118,6 +4118,8 @@ static inline dw_die_ref
lookup_type_die (type)
register tree type;
{
+ if (TREE_CODE (type) == VECTOR_TYPE)
+ type = TYPE_DEBUG_REPRESENTATION_TYPE (type);
return (dw_die_ref) TYPE_SYMTAB_POINTER (type);
}
@@ -9065,6 +9067,10 @@ gen_type_die (type, context_die)
gen_array_type_die (type, context_die);
break;
+ case VECTOR_TYPE:
+ gen_type_die (TYPE_DEBUG_REPRESENTATION_TYPE (type), context_die);
+ break;
+
case ENUMERAL_TYPE:
case RECORD_TYPE:
case UNION_TYPE: