[patch] cleanup *finish_omp_clauses
Marek Polacek
polacek@redhat.com
Tue May 3 06:35:00 GMT 2016
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,
^
I'm fixing that with
2016-05-03 Marek Polacek <polacek@redhat.com>
* c-common.h (enum c_omp_region_type): Remove stray comma.
diff --git gcc/c-family/c-common.h gcc/c-family/c-common.h
index 1714284..b121138 100644
--- gcc/c-family/c-common.h
+++ gcc/c-family/c-common.h
@@ -1267,7 +1267,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);
Marek
More information about the Gcc-patches
mailing list