mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 07:50:27 +08:00
fix stabs info for vector types
From-SVN: r58939
This commit is contained in:
parent
a4b1e6535f
commit
489d6e8e10
@ -1,3 +1,7 @@
|
||||
2002-11-08 Dale Johannesen <dalej@apple.com>
|
||||
|
||||
* dbxout.c (dbxout_type): Fix stabs info for vector types.
|
||||
|
||||
2002-11-08 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
PR preprocessor/8497
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user