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. Often and often, while hacking the C++ front-end I noticed the integer typee which we use while processing templates and I become nervous even when I see ints. In these 64-bit days and with people using all sorts of crazy template metaprogramming, if I were to design these things from scratch I guess that I would just use longs everywhere and be done with it. At minimum, compare to clang? But hey, I'm new to most of the C++ front-end internals maybe people already discussed these topics in the past, even at ISO level, I don't know. I'm curious to hear Jason anyway.

Paolo.

Reply via email to