This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Small fix to dwarf2out.c for VECTOR_TYPES
- To: gcc-patches at gcc dot gnu dot org
- Subject: [PATCH]: Small fix to dwarf2out.c for VECTOR_TYPES
- From: Daniel Berlin <dan at www dot cgsoftware dot com>
- Date: Wed, 3 Jan 2001 15:10:00 -0500 (EST)
We weren't saying whether a VECTOR_TYPE was a base type or not, so it
would abort() when trying to output them.
I've made the assumption that they are *not* fundamental dwarf2 types,
becuase they can be represented in so many different ways.
If i'm wrong, just move the case up into the part that return's 1.
--Dan
*** /boot/home/write/egcs/gcc/dwarf2out.c Tue Jan 2 19:29:12 2001
--- dwarf2out.c Wed Jan 3 14:21:06 2001
*************** is_base_type (type)
*** 7341,7346 ****
--- 7341,7347 ----
case FILE_TYPE:
case OFFSET_TYPE:
case LANG_TYPE:
+ case VECTOR_TYPE:
return 0;
default: