[Bug c++/86960] [Regression] internal compiler error: in coerce_template_parms

2018-08-15 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960

--- Comment #2 from Vladimir Reshetnikov  ---
Also, might be related to Bug 84796 and Bug 86961.

[Bug c++/86960] [Regression] internal compiler error: in coerce_template_parms

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-08-14
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Confirmed.

commit e5a3303f90fcbcba4d8cd9cdcc0a2c7f45958b25
Author: jason 
Date:   Wed Feb 26 17:08:20 2014 +

PR c++/54440
* pt.c (get_template_parm_index): New.
(fixed_parameter_pack_p_1, fixed_parameter_pack_p): New.
(process_template_parm): Allow bare packs in template template
parm template parms.
(coerce_template_parameter_pack): Handle fixed template template
parm packs and fixed packs not at the end of the parm list.
(coerce_template_parms): Handle template parm packs not at the end
of the parm list.
(gen_elem_of_pack_expansion_instantiation): Handle a decl
expansion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208178
138bc75d-0d04-0410-961f-82ee72b054a4