[Bug c++/44613] Declaring an array with non-constant length inside a switch corrupts stack pointer.

2010-06-21 Thread mark dot haines at openmarket dot com
--- Comment #3 from mark dot haines at openmarket dot com 2010-06-21 16:47 --- (In reply to comment #1) > (In reply to comment #0) > > The following program compiles with g++ -O3 without errors or warnings > > Not with warnings enabled it doesn't! > Sorry,

[Bug c++/44613] New: Declaring an array with non-constant length inside a switch corrupts stack pointer.

2010-06-21 Thread mark dot haines at openmarket dot com
switch corrupts stack pointer. Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mark dot haines at openmarket dot com GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613