Re: [C++ Patch] fix semi-random template specialization ICE

2012-05-14 Thread Jason Merrill
On 05/14/2012 01:22 AM, Alexandre Oliva wrote: Is it ok for the 4.7 branch too? Yes. Jason

Re: [C++ Patch] fix semi-random template specialization ICE

2012-05-13 Thread Alexandre Oliva
On May 10, 2012, Jason Merrill wrote: > OK. Thanks, installed a few days ago. Is it ok for the 4.7 branch too? I didn't realize the bug could occur there as well, but PR c++/53209 suggests it does. Regstrapping now. -- Alexandre Oliva, freedom fighterhttp://FSFLA.org/~lxoliva/ You must

Re: [C++ Patch] fix semi-random template specialization ICE

2012-05-10 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] fix semi-random template specialization ICE

2012-05-10 Thread Dodji Seketeli
Alexandre Oliva a écrit: [...] > Anyway, the problem is that, for some unsuitable candidate template > specializations, tsubst returns error_mark_node, which tsubst_decl > stores in argvec, and later on register_specialization gets this > error_mark_node and tries to access it as a tree_vec. > >

Re: [C++ Patch] fix semi-random template specialization ICE

2012-05-06 Thread H.J. Lu
On Fri, May 4, 2012 at 4:48 AM, Martin Jambor wrote: > Hi, > > On Thu, May 03, 2012 at 03:17:23PM -0300, Alexandre Oliva wrote: >> I've recently started getting “libstdc++-v3/include/functional:2057:63: >> internal compiler error: tree check: expected tree_vec, have error_mark >> in comp_template_

Re: [C++ Patch] fix semi-random template specialization ICE

2012-05-04 Thread Martin Jambor
Hi, On Thu, May 03, 2012 at 03:17:23PM -0300, Alexandre Oliva wrote: > I've recently started getting “libstdc++-v3/include/functional:2057:63: > internal compiler error: tree check: expected tree_vec, have error_mark > in comp_template_args_with_info, at cp/pt.c:7038” on i686-linux-gnu, > building