Commit c81fe25d by Richard Kenner

(init_decl_processing): Make the arrays 200 long instead of 10 to

leave more room for most names.

From-SVN: r3369
parent 97d17ac2
...@@ -2657,9 +2657,11 @@ init_decl_processing () ...@@ -2657,9 +2657,11 @@ init_decl_processing ()
= build_pointer_type (build_type_variant (char_type_node, 1, 0)); = build_pointer_type (build_type_variant (char_type_node, 1, 0));
/* Make a type to be the domain of a few array types /* Make a type to be the domain of a few array types
whose domains don`t really matter. whose domains don't really matter.
10 is small enough that it always fits in size_t. */ 200 is small enough that it always fits in size_t
array_domain_type = build_index_type (build_int_2 (10, 0)); 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. /* make a type for arrays of characters.
With luck nothing will ever really depend on the length of this With luck nothing will ever really depend on the length of this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment