PR c++/89119 - ICE with value-initialization in template.
authorMarek Polacek <polacek@redhat.com>
Wed, 30 Jan 2019 19:04:05 +0000 (19:04 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 30 Jan 2019 19:04:05 +0000 (19:04 +0000)
commit9f4e09a89a4879d1a39f6055b61afb8f335e7604
tree9243a3f49aee226a9f591e35d8706ad0fe209f78
parent7341a03ab85827e2fe36c26e6bfad622bdfd218b
PR c++/89119 - ICE with value-initialization in template.

* pt.c (tsubst_copy_and_build): Handle RANGE_EXPR.

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

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