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

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.0 Status|NEW

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

2020-04-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment

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

2014-04-04 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613 --- Comment #9 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Fri Apr 4 19:36:00 2014 New Revision: 209125 URL: http://gcc.gnu.org/viewcvs?rev=209125root=gccview=rev Log: PR c++/44613 * semantics.c (add_stmt): Set

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

2013-06-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||b.r.longbons

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

2011-03-30 Thread yselkowitz at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613 --- Comment #7 from Yaakov (Cygwin Ports) yselkowitz at users dot sourceforge.net 2011-03-30 09:11:43 UTC --- Isn't this just a case of jump to case label crosses initialization, which is now an error?

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

2010-07-21 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2010-07-21 23:45 --- It is the gimplification of SWITCH_STMT which is a C++ front-end tree. Works with the C front-end too. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2010-06-21 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-06-21 16:22 --- (In reply to comment #0) The following program compiles with g++ -O3 without errors or warnings Not with warnings enabled it doesn't! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613

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

2010-06-21 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2010-06-21 16:45 --- (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! ??? -- manu at gcc dot gnu dot org changed:

[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, g++ -O3 -Wall -Wextra

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

2010-06-21 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-06-21 16:51 --- (In reply to comment #3) (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, g++ -O3