From c81fe25de970cfe3e5570df9bfb5625660e723df Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 27 Jan 1993 19:21:30 -0500 Subject: (init_decl_processing): Make the arrays 200 long instead of 10 to leave more room for most names. From-SVN: r3369 --- gcc/c-decl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 4847d36..b355ab1 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -2657,9 +2657,11 @@ init_decl_processing () = build_pointer_type (build_type_variant (char_type_node, 1, 0)); /* Make a type to be the domain of a few array types - whose domains don`t really matter. - 10 is small enough that it always fits in size_t. */ - array_domain_type = build_index_type (build_int_2 (10, 0)); + whose domains don't really matter. + 200 is small enough that it always fits in size_t + and large enough that it can hold most function names for the + initializations of __FUNCTION__ and __PRETTY_FUNCTION__. */ + array_domain_type = build_index_type (build_int_2 (200, 0)); /* make a type for arrays of characters. With luck nothing will ever really depend on the length of this -- cgit v1.1