This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69517] [5/6 regression] SEGV on a VLA with excess initializer elements
- 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: Wed, 27 Jan 2016 21:05:56 +0000
- Subject: [Bug c++/69517] [5/6 regression] SEGV on a VLA with excess initializer elements
- Auto-submitted: auto-generated
- References: <bug-69517-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69517
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
In 4.9.3 we implemented the proposal for arrays of runtime bound that was
pulled out of C++14, and so it was pulled out of the compiler as well. So now
excess initializers are undefined behavior. I don't think this is a bug.