* c-common.c (c_common_nodes_and_builtins): Increase builtin_types
array by one element, initialize the BT_LAST element with NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103526
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-08-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/23506
+ * c-common.c (c_common_nodes_and_builtins): Increase builtin_types
+ array by one element, initialize the BT_LAST element with NULL.
+
2005-08-26 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (eq<mode>_compare): Only enable when
2005-08-26 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (eq<mode>_compare): Only enable when
typedef enum builtin_type builtin_type;
typedef enum builtin_type builtin_type;
- tree builtin_types[(int) BT_LAST];
+ tree builtin_types[(int) BT_LAST + 1];
int wchar_type_size;
tree array_domain_type;
tree va_list_ref_type_node;
int wchar_type_size;
tree array_domain_type;
tree va_list_ref_type_node;
#undef DEF_FUNCTION_TYPE_VAR_4
#undef DEF_FUNCTION_TYPE_VAR_5
#undef DEF_POINTER_TYPE
#undef DEF_FUNCTION_TYPE_VAR_4
#undef DEF_FUNCTION_TYPE_VAR_5
#undef DEF_POINTER_TYPE
+ builtin_types[(int) BT_LAST] = NULL_TREE;