diff options
author | dalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-08 23:12:24 +0000 |
---|---|---|
committer | dalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-08 23:12:24 +0000 |
commit | 5efc251caf1a6bb833677c72fde4d4a352ee6be0 (patch) | |
tree | 394da303a4af97d1faa41f627c9cae47e12d0517 /gcc/dbxout.c | |
parent | 60757a559817841470a83f3f8ec87916e684b49c (diff) | |
download | gcc-5efc251caf1a6bb833677c72fde4d4a352ee6be0.tar.gz |
fix stabs info for vector types
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58939 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 9d27fa7c72a..932e0760c69 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -1052,7 +1052,9 @@ dbxout_type (type, full) static int anonymous_type_number = 0; if (TREE_CODE (type) == VECTOR_TYPE) - type = TYPE_DEBUG_REPRESENTATION_TYPE (type); + /* The frontend feeds us a representation for the vector as a struct + containing an array. Pull out the array type. */ + type = TREE_TYPE (TYPE_FIELDS (TYPE_DEBUG_REPRESENTATION_TYPE (type))); /* If there was an input error and we don't really have a type, avoid crashing and write something that is at least valid |