From patchwork Wed Dec 4 14:53:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 1204223 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-515131-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="siJDe4P6"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="GqMAO1yF"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47Shgg2zqbz9sPV for ; Thu, 5 Dec 2019 01:53:49 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=m9ioZGMIVYCGb4BH 2Mbcf6Afai3+5buLjHcyQXwAGi8O6gUHdyKyETPwfl8LQlgasXPWln3FHbutv9W/ +JTYYwwYsopTp+K+bWjM3qsyDGRfpGpReMyTrS3lOKBf7saVkIeJ60tKtvNKjscP IWlZG+S4qrul5O9DTEYjpMggCWM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=4tLaMUEpeVXRHuQaJ0qnPu 8UoDc=; b=siJDe4P66T28amW5uW7ED7YINDieD2PoybXHewFD5nHXzfdZI/E3Z+ f3ipONx61BcW4b8mC1OFMMQyAU7FG+wu81uulSxfR8GY1wl6tL2XM3deuwtwbSgs u6DeokzbpMA3U/nhPKM7AstpXebAsjjTSf/vyu9YZs4duvkZr462E= Received: (qmail 72380 invoked by alias); 4 Dec 2019 14:53:37 -0000 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 Received: (qmail 72309 invoked by uid 89); 4 Dec 2019 14:53:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=marek, Polacek, Marek, polacek X-HELO: us-smtp-delivery-1.mimecast.com Received: from us-smtp-1.mimecast.com (HELO us-smtp-delivery-1.mimecast.com) (205.139.110.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Dec 2019 14:53:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575471213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fhkYCBFHQLKAJeQqZc+S0EJ0pKaIRUXUuOXWrsmlCg0=; b=GqMAO1yFAMuIWLsoprt5nl8wv7VQ8qhhoCxp/hIMcNVJXgS7a4HVKss2NdpSq3mn+1egUS QrcoHv+YSktFJE5rT1r5Df7R8V5eaQyTEJ1Keb1SVSELmsHkjsPmvZMhTnGxxz9s0oqqo/ PjSa3GwCNIBkmtla71/cJYSFfdHlcQ0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-308-oZDW63KOMZq-FKRG2IiZCg-1; Wed, 04 Dec 2019 09:53:32 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CCA0719057CE for ; Wed, 4 Dec 2019 14:53:31 +0000 (UTC) Received: from redhat.com (ovpn-121-219.rdu2.redhat.com [10.10.121.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 86A99131FE6C for ; Wed, 4 Dec 2019 14:53:31 +0000 (UTC) Date: Wed, 4 Dec 2019 09:53:29 -0500 From: Marek Polacek To: GCC Patches Subject: [committed] Remove stray comma in primary_constraint_error. Message-ID: <20191204145329.GE119925@redhat.com> MIME-Version: 1.0 User-Agent: Mutt/1.12.1 (2019-06-15) X-Mimecast-Spam-Score: 0 Content-Disposition: inline This fixes cp/parser.c:27134:20: warning: comma at end of enumerator list Applying to trunk. 2019-12-04 Marek Polacek * parser.c (enum primary_constraint_error): Remove stray comma. diff --git gcc/cp/parser.c gcc/cp/parser.c index fb030022627..10ff01666b9 100644 --- gcc/cp/parser.c +++ gcc/cp/parser.c @@ -27131,7 +27131,7 @@ enum primary_constraint_error { pce_ok, pce_maybe_operator, - pce_maybe_postfix, + pce_maybe_postfix }; /* Returns true if the token(s) following a primary-expression in a