[Bug c++/66603] using std::cout causes segfault with unrelated array declaration

2015-06-19 Thread gunney1 at llnl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66603 --- Comment #3 from gunney1 at llnl dot gov --- Because of the effects of the stream insertion. But maybe I don't understand very well their relationship.

[Bug c++/66603] using std::cout causes segfault with unrelated array declaration

2015-06-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66603 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to gunney1 from comment #3) Because of the effects of the stream insertion. But maybe I don't understand very well their relationship. First, I guess it does not crash

[Bug c++/66603] using std::cout causes segfault with unrelated array declaration

2015-06-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66603 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org --- Another detail that might confuse you: if you write in n=400; int a[n]; it will probably not crash. The reason is that variables like 'int a[400]' exist for the whole length

[Bug c++/66603] using std::cout causes segfault with unrelated array declaration

2015-06-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66603 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/66603] using std::cout causes segfault with unrelated array declaration

2015-06-19 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66603 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|