This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]: Small fix to dwarf2out.c for VECTOR_TYPES


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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]