From patchwork Fri Oct 15 14:49:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 67965 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id C8B93B70E3 for ; Sat, 16 Oct 2010 01:49:49 +1100 (EST) Received: (qmail 22391 invoked by alias); 15 Oct 2010 14:49:45 -0000 Received: (qmail 22383 invoked by uid 22791); 15 Oct 2010 14:49:44 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Oct 2010 14:49:40 +0000 Received: (qmail 924 invoked from network); 15 Oct 2010 14:49:38 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Oct 2010 14:49:38 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1P6lbF-00084V-AZ for gcc-patches@gcc.gnu.org; Fri, 15 Oct 2010 14:49:37 +0000 Date: Fri, 15 Oct 2010 14:49:37 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org Subject: Fix VLAs documentation reference to non-conformance Message-ID: MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org When I fixed the known corner cases of VLAs I updated c99status.html but omitted to update extend.texi. I've now applied this patch to trunk and 4.5 branch to remove an obsolete parenthetical remark. 2010-10-15 Joseph Myers * doc/extend.texi (Variable Length): Don't refer to VLAs not conforming to C99. Index: doc/extend.texi =================================================================== --- doc/extend.texi (revision 165508) +++ doc/extend.texi (working copy) @@ -1358,9 +1358,7 @@ @cindex VLAs Variable-length automatic arrays are allowed in ISO C99, and as an -extension GCC accepts them in C90 mode and in C++. (However, GCC's -implementation of variable-length arrays does not yet conform in detail -to the ISO C99 standard.) These arrays are +extension GCC accepts them in C90 mode and in C++. These arrays are declared like any other automatic arrays, but with a length that is not a constant expression. The storage is allocated at the point of declaration and deallocated when the brace-level is exited. For