On 04/12/2011 01:06 PM, Jakub Jelinek wrote:
+ : (unsigned)TREE_STRING_LENGTH (ary) + * (TYPE_PRECISION (TREE_TYPE (TREE_TYPE (ary))) + / TYPE_PRECISION (char_type_node)));
Don't you mean / instead of * here? Let's also calculate the size of the element once rather than here and again later.
Jason