diff options
author | Marek Polacek <polacek@redhat.com> | 2016-01-27 14:26:38 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-01-27 14:26:38 +0000 |
commit | 95e3030cfa307191f87da77bb98b101f2ed88bec (patch) | |
tree | bfe137203da0ccf55cba3f65e7c46f06a5d8bb62 /gcc/tree-sra.c | |
parent | 5128d392c0c6509fac352b62cbb3cecf511e7b2a (diff) | |
download | gcc-95e3030cfa307191f87da77bb98b101f2ed88bec.zip gcc-95e3030cfa307191f87da77bb98b101f2ed88bec.tar.gz gcc-95e3030cfa307191f87da77bb98b101f2ed88bec.tar.bz2 |
re PR c++/69496 ([C++ 14] ICE on VLA in constexpr function)
PR c++/69496
* constexpr.c (cxx_eval_array_reference): Evaluate the number of
elements of the array.
* g++.dg/ext/constexpr-vla1.C: New test.
From-SVN: r232875
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions