re PR c++/78488 (P0136R1 ICE when building call to inherited default constructor.)
authorNathan Sidwell <nathan@acm.org>
Wed, 18 Jan 2017 19:27:52 +0000 (19:27 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 18 Jan 2017 19:27:52 +0000 (19:27 +0000)
commitc484627cf619d93610d2c9dca6950c9e70a65cf3
tree456b2cca4a6fe5a623790e3a73b62b76b20b24ea
parenta711887ed98d6524dda82e8ab174fe93142e43ca
re PR c++/78488 (P0136R1 ICE when building call to inherited default constructor.)

PR c++/78488
* call.c (build_over_call): When checking ellipsis conversions for
an inherited ctor, make sure there is at least one conversion.

* g++.dg/cpp1z/inh-ctor37.C: New.

From-SVN: r244592
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/inh-ctor37.C [new file with mode: 0644]