PR c++/88857 - ICE with value-initialization of argument in template.
authorMarek Polacek <polacek@redhat.com>
Thu, 28 Feb 2019 00:07:06 +0000 (00:07 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 28 Feb 2019 00:07:06 +0000 (00:07 +0000)
commit294a3e20e5bf4290cf9001d1a532a155af3bca9c
tree849feb9ca1457ec69248badfd3806bd5945aeaf2
parentcba8a572c208078c1c6eb9845b54f960526c53c0
PR c++/88857 - ICE with value-initialization of argument in template.

* call.c (convert_like_real): Don't call build_value_init in template.

* g++.dg/cpp0x/initlist-value4.C: New test.

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