This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69517] [5/6 regression] SEGV on a VLA with excess initializer elements


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]