From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124521 invoked by alias); 1 Feb 2017 19:06:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 124498 invoked by uid 89); 1 Feb 2017 19:06:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=dots, tongue X-HELO: ainaz.pair.com Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Feb 2017 19:06:28 +0000 Received: from anthias.dhcp.nue.suse.com (nat.nue.novell.com [195.135.221.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 0B0FC3F531; Wed, 1 Feb 2017 14:06:24 -0500 (EST) Date: Wed, 01 Feb 2017 19:06:00 -0000 From: Gerald Pfeifer To: Martin Sebor , Jakub Jelinek cc: Aldy Hernandez , gcc-patches@gcc.gnu.org Subject: Re: [wwwdocs] changes.html - document new warning options In-Reply-To: <20170201105138.GY14051@tucnak> Message-ID: References: <737b809f-d95a-8e68-4ac2-74600359afae@gmail.com> <28b0b2d5-4636-7465-5381-6c8750f5a6df@gmail.com> <5f67141f-56e0-19d2-84e3-2cff819d0c60@redhat.com> <20170201105138.GY14051@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00081.txt.bz2 On Tue, 31 Jan 2017, Martin Sebor wrote: > Thanks for the careful review (and debugging)! Thanks for taking the time to prepare all this to begin with. ;-) On Wed, 1 Feb 2017, Jakub Jelinek wrote: >>> void f (size_t n) >>> { >>> char *d = alloca (n) > Missing semicolon after alloca (n) Martin might argue that this was covered by the ellipsis dots in the following line ;-), but I admit that's a little tongue in cheek and went ahead with the patch below. Thanks for your careful reviews, Jakub! Gerald Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.52 diff -u -r1.52 changes.html --- changes.html 1 Feb 2017 10:16:47 -0000 1.52 +++ changes.html 1 Feb 2017 19:05:12 -0000 @@ -368,7 +368,7 @@
 void f (size_t n)
 {
-  char *d = alloca (n)
+  char *d = alloca (n);
   …
 }