This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21113] Jumps into VLA or VM scope not rejected for C++
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 Apr 2014 19:36:26 +0000
- Subject: [Bug c++/21113] Jumps into VLA or VM scope not rejected for C++
- Auto-submitted: auto-generated
- References: <bug-21113-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21113
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Apr 4 19:35:54 2014
New Revision: 209124
URL: http://gcc.gnu.org/viewcvs?rev=209124&root=gcc&view=rev
Log:
PR c++/21113
* decl.c (decl_jump_unsafe): Consider variably-modified decls.
Added:
trunk/gcc/testsuite/g++.dg/ext/vla14.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c