aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-01-27 19:21:30 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-01-27 19:21:30 -0500
commitc81fe25de970cfe3e5570df9bfb5625660e723df (patch)
treef4c8d43fb487753826dbaf458f45222b04400457 /gcc
parent97d17ac21c4835251b1b485584fafaa5b187968d (diff)
downloadgcc-c81fe25de970cfe3e5570df9bfb5625660e723df.zip
gcc-c81fe25de970cfe3e5570df9bfb5625660e723df.tar.gz
gcc-c81fe25de970cfe3e5570df9bfb5625660e723df.tar.bz2
(init_decl_processing): Make the arrays 200 long instead of 10 to
leave more room for most names. From-SVN: r3369
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-decl.c8
1 files changed, 5 insertions, 3 deletions
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