This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] cleanup *finish_omp_clauses


Hi!

On Tue, 3 May 2016 08:35:29 +0200, Marek Polacek <polacek@redhat.com> 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 <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
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(-)

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  <thomas@codesourcery.com>
+
+	Backport trunk r235802:
+	2016-05-03  Marek Polacek  <polacek@redhat.com>
+
+	* c-common.h (enum c_omp_region_type): Remove stray comma.
+
 2016-05-09  Cesar Philippidis  <cesar@codesourcery.com>
 
 	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);


GrÃÃe
 Thomas

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]