[C++ Patch] PR 51448, 53618, 58059 (Take 2)

2014-07-03 Thread Paolo Carlini
Hi again, this is IMHO more spot-on, because I figured out where exactly things go wrong as part of the most_specialized_class call. In complete analogy with the get_bindings case for functions, the problem happens in get_class_bindings, thus I added a simple push_tinst_level check around the

Re: [C++ Patch] PR 51448, 53618, 58059

2014-07-02 Thread Paolo Carlini
Hi again, On 07/02/2014 05:06 PM, Paolo Carlini wrote: .. consider this patch withdrawn. I believe that something is going wrong indeed as part of most_specialized_instantiation but the details need to be figured out. I'm now focusing on fn_type_unification via get_bindings. In fact my typo ab

Re: [C++ Patch] PR 51448, 53618, 58059

2014-07-02 Thread Paolo Carlini
.. consider this patch withdrawn. I believe that something is going wrong indeed as part of most_specialized_instantiation but the details need to be figured out. I'm now focusing on fn_type_unification via get_bindings. Paolo.

[C++ Patch] PR 51448, 53618, 58059

2014-07-01 Thread Paolo Carlini
Hi, some time ago I started analyzing the bugs in Bugzilla involving crashes for too deep recursive template instantiation and figured out that this subset is probably the simplest to tackle (https://gcc.gnu.org/ml/gcc-patches/2013-08/msg01348.html). All these crashes involve instantiate_clas