From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11735 invoked by alias); 21 Jun 2010 16:46:15 -0000 Received: (qmail 11333 invoked by uid 48); 21 Jun 2010 16:45:49 -0000 Date: Mon, 21 Jun 2010 16:46:00 -0000 Message-ID: <20100621164549.11332.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44613] Declaring an array with non-constant length inside a switch corrupts stack pointer. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg02078.txt.bz2 ------- 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