https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84559

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 26 21:55:41 2018
New Revision: 258015

URL: https://gcc.gnu.org/viewcvs?rev=258015&root=gcc&view=rev
Log:
        PR c++/84559 - ICE with constexpr VLA.

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

Added:
    trunk/gcc/testsuite/g++.dg/ext/constexpr-vla5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c

Reply via email to