From patchwork Fri Jun 10 10:16:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 633638 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rQyl73Rn5z9sDC for ; Fri, 10 Jun 2016 20:16:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=yvzwjLxm; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; q=dns; s=default; b=a+m11TPTQqigMSbh yiAQzJ1XJNmI6PLvImIxZG2Hxuiol4yFvGGkjhzhTwd/RMJJLZNyB9yZA/U/nr7F EhYI0cywiF9Zi70sr5UoAipQ6cFqcf0KY2TTiUCyPQUNG3TsqQCDwivJUo8jfUsS uA/EjL2t/lVuPssqMZEZBdYF3Ns= 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:from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=default; bh=smKLwAS2Y1wtwPwrVuTIG7 S/KWQ=; b=yvzwjLxmSZRXjjQ8/nazlN4KIRTe6fGgWKceNeXw5PTw0bm3Kv3mMa BfbdYsa83Ivh7p7b+sCityiGhuHiGSsiTarS/Plfil6gwHe6iwqXbnT21l7YKmN9 sYSoxf5/wMtPTl8VI8L7sWXy71ruzIWrVRz25NKOX3z2fyH+X9Ugw= Received: (qmail 91875 invoked by alias); 10 Jun 2016 10:16:44 -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 90731 invoked by uid 89); 10 Jun 2016 10:16:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=c-common.h, ccommonh, UD:c-common.h, sk:c_finis X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 10 Jun 2016 10:16:30 +0000 Received: from svr-orw-fem-02x.mgc.mentorg.com ([147.34.96.206] helo=SVR-ORW-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1bBJUI-0006Iz-Kv from Thomas_Schwinge@mentor.com ; Fri, 10 Jun 2016 03:16:26 -0700 Received: from tftp-cs (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.3.224.2; Fri, 10 Jun 2016 03:16:26 -0700 Received: by tftp-cs (Postfix, from userid 49978) id B5F2EC23DA; Fri, 10 Jun 2016 03:16:25 -0700 (PDT) From: Thomas Schwinge To: Cesar Philippidis , "gcc-patches@gcc.gnu.org" CC: Marek Polacek , Jakub Jelinek Subject: Re: [patch] cleanup *finish_omp_clauses In-Reply-To: <20160503063529.GG5348@redhat.com> References: <5721775D.5060004@codesourcery.com> <20160428085639.GJ26501@tucnak.zalov.cz> <57224B99.7050003@codesourcery.com> <20160429073936.GY26501@tucnak.zalov.cz> <5726C55C.5070901@codesourcery.com> <20160503063529.GG5348@redhat.com> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/24.5.1 (i586-pc-linux-gnu) Date: Fri, 10 Jun 2016 12:16:18 +0200 Message-ID: <87wplxnybx.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Hi! On Tue, 3 May 2016 08:35:29 +0200, Marek Polacek wrote: > This patch introduced > > /home/marek/src/gcc/gcc/c-family/c-common.h:1270:58: warning: comma at end of > enumerator list [-Wpedantic] > C_ORT_OMP_DECLARE_SIMD = C_ORT_OMP | C_ORT_DECLARE_SIMD, > ^ Likewise committed to gomp-4_0-branch in r237297: commit e4084ffb2857e6714057090be97d8504b34a60eb Author: tschwinge Date: Fri Jun 10 10:11:57 2016 +0000 Fix "warning: comma at end of enumerator list [-Wpedantic]" Backport trunk r235802: gcc/ * c-common.h (enum c_omp_region_type): Remove stray comma. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@237297 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-family/ChangeLog.gomp | 7 +++++++ gcc/c-family/c-common.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) Grüße Thomas diff --git gcc/c-family/ChangeLog.gomp gcc/c-family/ChangeLog.gomp index 45b2367..b324fa0 100644 --- gcc/c-family/ChangeLog.gomp +++ gcc/c-family/ChangeLog.gomp @@ -1,3 +1,10 @@ +2016-06-10 Thomas Schwinge + + Backport trunk r235802: + 2016-05-03 Marek Polacek + + * c-common.h (enum c_omp_region_type): Remove stray comma. + 2016-05-09 Cesar Philippidis Backport trunk r235651: diff --git gcc/c-family/c-common.h gcc/c-family/c-common.h index daa77f9..5f13d41 100644 --- gcc/c-family/c-common.h +++ gcc/c-family/c-common.h @@ -1265,7 +1265,7 @@ enum c_omp_region_type C_ORT_CILK = 1 << 1, C_ORT_ACC = 1 << 2, C_ORT_DECLARE_SIMD = 1 << 3, - C_ORT_OMP_DECLARE_SIMD = C_ORT_OMP | C_ORT_DECLARE_SIMD, + C_ORT_OMP_DECLARE_SIMD = C_ORT_OMP | C_ORT_DECLARE_SIMD }; extern tree c_finish_omp_master (location_t, tree);