PR c++/85092 - C++17 ICE with unused list constructor.
authorJason Merrill <jason@redhat.com>
Tue, 3 Apr 2018 19:13:42 +0000 (15:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Apr 2018 19:13:42 +0000 (15:13 -0400)
commit8d0d49f8b457d47539898886e3f94aaee9c572d6
tree4adccd708cd1135318065700d47a964787fecb81
parentfe736ffd2f423c825da8751111da55a2ad25d059
PR c++/85092 - C++17 ICE with unused list constructor.

* call.c (conv_binds_ref_to_prvalue): Also count ck_identity
from a TARGET_EXPR.

From-SVN: r259052
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/initlist99.C [new file with mode: 0644]