From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15207 invoked by alias); 21 Nov 2001 12:56:10 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15160 invoked by uid 71); 21 Nov 2001 12:56:05 -0000 Date: Fri, 16 Nov 2001 23:16:00 -0000 Message-ID: <20011121125604.15157.qmail@sourceware.cygnus.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: nathan@gcc.gnu.org Subject: Re: c++/626: Array in thrown exception object causes g++ to fail Reply-To: nathan@gcc.gnu.org X-SW-Source: 2001-11/txt/msg00418.txt.bz2 List-Id: The following reply was made to PR c++/626; it has been noted by GNATS. From: nathan@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rgillen@webmd.net Cc: Subject: Re: c++/626: Array in thrown exception object causes g++ to fail Date: 21 Nov 2001 12:52:44 -0000 Synopsis: Array in thrown exception object causes g++ to fail State-Changed-From-To: analyzed->closed State-Changed-By: nathan State-Changed-When: Wed Nov 21 04:52:43 2001 State-Changed-Why: the diagnostic is correct. An array bound must be an integral constant expression. That can contain static const int objects initialized with a constant expression [5.19] That initializtion must be a the point of declaration (but I can't find the text to support that at the moment) http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=626&database=gcc