PR c++/84559 - ICE with constexpr VLA.
authorJason Merrill <jason@redhat.com>
Mon, 26 Feb 2018 21:55:41 +0000 (16:55 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 26 Feb 2018 21:55:41 +0000 (16:55 -0500)
commit8e9589bd6b308700c8601e802739b4d8f4d4cb83
tree221d0a1df6f0596235c100891a574f8c302ef2a2
parentc2236b9b79e38e853026ac236984fcb5eabfb5df
PR c++/84559 - ICE with constexpr VLA.

* constexpr.c (ensure_literal_type_for_constexpr_object): Check
for constexpr variable with VLA type.

From-SVN: r258015
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/ext/constexpr-vla5.C [new file with mode: 0644]