[Bug c++/70514] New: Variable length arrays lead to garbage in another array

2016-04-02 Thread kwpolska at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kwpolska at gmail dot com Target Milestone: --- Created attachment 38162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38162&action=edit The broken code. I’m writing a really

[Bug c++/70514] Variable length arrays lead to garbage in another array

2016-04-03 Thread kwpolska at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70514 --- Comment #3 from Chris Warrick --- Well, that is a typo. But would writing past the limits really have such unusual effects? And why does clang++ not crash?

[Bug c++/70514] Variable length arrays lead to garbage in another array

2016-04-03 Thread kwpolska at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70514 --- Comment #5 from Chris Warrick --- Thanks for debugging my code, and sorry for wasting time.