This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gccgo] When making a slice, increase the capacity to the length
Richard Henderson <rth@redhat.com> writes:
> On 12/07/2009 10:56 PM, Ian Lance Taylor wrote:
>> + capacity_tree = fold_build3_loc(location, COND_EXPR,
>> + TREE_TYPE(count_field),
>> + fold_build2_loc(location,
>> + LT_EXPR,
>> + boolean_type_node,
>> + capacity_tree,
>> + length_tree),
>> + length_tree,
>> + capacity_tree);
>
> MAX_EXPR?
Oh yeah. Thanks.
Ian