diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-02-21 18:57:23 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-02-21 18:57:23 +0100 |
commit | 3bb4311904171b4938f6682566a24180f318b196 (patch) | |
tree | b4f077a5ec20715695c62f39daac6b4d371c27e2 /gcc/tree-stdarg.c | |
parent | 664beaf2c19148677cc26c0fd6beaf2e56d2b6f3 (diff) | |
download | gcc-3bb4311904171b4938f6682566a24180f318b196.zip gcc-3bb4311904171b4938f6682566a24180f318b196.tar.gz gcc-3bb4311904171b4938f6682566a24180f318b196.tar.bz2 |
re PR c++/79655 (ICE on invalid c++ code in cxx_eval_store_expression in cp/constexpr.c:3464)
PR c++/79655
* constexpr.c (cxx_eval_array_reference): Diagnose negative subscript.
* g++.dg/cpp1y/constexpr-79655.C: New test.
From-SVN: r245636
Diffstat (limited to 'gcc/tree-stdarg.c')
0 files changed, 0 insertions, 0 deletions