From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11975 invoked by alias); 1 May 2005 11:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11958 invoked by uid 48); 1 May 2005 11:32:23 -0000 Date: Sun, 01 May 2005 11:32:00 -0000 Message-ID: <20050501113223.11957.qmail@sourceware.org> From: "jsm28 at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050419212056.21113.jsm28@gcc.gnu.org> References: <20050419212056.21113.jsm28@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/21113] Jumps into VLA or VM scope not rejected for C++ X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg00058.txt.bz2 List-Id: ------- Additional Comments From jsm28 at gcc dot gnu dot org 2005-05-01 11:32 ------- It should be possible to use the existing machinery in the C++ front end which diagnoses jumps into the scope of initialized or non-POD variables to diagnose jumps into VLA or VM scope (treating VLA or VM declarations as a special case of being initialized; after all, the artificial variable with the array size is initialized by the declaration). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21113