re PR c++/92524 (ICE in short program with constexpr and std::array)
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Nov 2019 09:04:40 +0000 (10:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 27 Nov 2019 09:04:40 +0000 (10:04 +0100)
commit66143cdfd1a3575ca5d92a6af788a4eb5c83f1b4
tree8ecbc79217316f0343b0fe73acf0520f85e96a2a
parent1fa715db5490fb44668e0a37f9a5927d9030a50e
re PR c++/92524 (ICE in short program with constexpr and std::array)

PR c++/92524
* tree.c (replace_placeholders_r): Don't walk constructor elts with
RANGE_EXPR indexes.

* g++.dg/cpp0x/pr92524.C: New test.

From-SVN: r278759
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr92524.C [new file with mode: 0644]