[PATCH][C++] Get rid of TREE_CHAIN use for TREE_VEC (NON_DEFAULT_TEMPLATE_ARGS_COUNT)

Mike Stump mikestump@comcast.net
Fri Aug 17 18:03:00 GMT 2012


On Aug 17, 2012, at 6:58 AM, Paolo Carlini wrote:
> On 08/17/2012 01:26 PM, Richard Guenther wrote:
>> This gets rid of this field, pushing it into a short int in tree_base
>> (hopefully 2^16 non-defaulted template args are enough ...).
> Honestly, I don't think it's a trivial issue.

Love to hear from Jason, but, my take would be 2^16 should be enough for anyone.  I think long before people hit that limit, they would merely aggregate arguments into classes and structures.  I think in another 20-80 years, we might want to bump it back up to 32 bits, but...  I think we can safely wait until we get a compelling bug report for it.



More information about the Gcc-patches mailing list