re PR c++/80956 (ICE with abstract class vector)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 5 Apr 2018 17:08:21 +0000 (17:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 5 Apr 2018 17:08:21 +0000 (17:08 +0000)
commit61f84e25f6cbfb182bfaa4334d44f3c865c4c0b7
tree902ce68a79ce3d3656c8f1e62d00ec1dd824c360
parent3b4a12aa8a7c7298c0b6277dad82e1dd95857eb8
re PR c++/80956 (ICE with abstract class vector)

/cp
2018-04-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/80956
* call.c (convert_like_real): Fail gracefully for a broken
std::initializer_list, missing a definition.

* name-lookup.c (do_pushtag): Tweak message, use %< and %>.

/testsuite
2018-04-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/80956
* g++.dg/cpp0x/initlist100.C: New.
* g++.dg/cpp0x/initlist101.C: Likewise.

From-SVN: r259137
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist100.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/initlist101.C [new file with mode: 0644]