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

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 21 16:46:00 GMT 2010



------- 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:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613



More information about the Gcc-bugs mailing list