[Bug c++/78198] ICE on valid code in: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_base, at cp/search.c:203
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 4 12:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78198
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Nov 4 12:47:01 2016
New Revision: 241843
URL: https://gcc.gnu.org/viewcvs?rev=241843&root=gcc&view=rev
Log:
PR c++/78198 - inherited template ctor with default arg
* call.c (convert_default_arg): Look through inheriting ctors.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor22.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
More information about the Gcc-bugs
mailing list