Patchwork [gomp4] Tiny c-family addition

login
register
mail settings
Submitter Jakub Jelinek
Date April 30, 2013, 4:09 p.m.
Message ID <20130430160915.GQ28963@tucnak.redhat.com>
Download mbox | patch
Permalink /patch/240657/
State New
Headers show

Comments

Jakub Jelinek - April 30, 2013, 4:09 p.m.
Hi!

Just one tiny omission (but neither of the parsers can parse the accelerator
stuff yet).

2013-04-30  Jakub Jelinek  <jakub@redhat.com>

	* c-pragma.c (omp_pragmas): Add PRAGMA_OMP_DISTRIBUTE.


	Jakub

Patch

--- gcc/c-family/c-pragma.c.jj	2013-03-27 13:01:09.000000000 +0100
+++ gcc/c-family/c-pragma.c	2013-04-30 15:18:35.473478963 +0200
@@ -1166,6 +1166,7 @@  static const struct omp_pragma_def omp_p
   { "cancellation", PRAGMA_OMP_CANCELLATION_POINT },
   { "critical", PRAGMA_OMP_CRITICAL },
   { "declare", PRAGMA_OMP_DECLARE_REDUCTION },
+  { "distribute", PRAGMA_OMP_DISTRIBUTE },
   { "end", PRAGMA_OMP_END_DECLARE_TARGET },
   { "flush", PRAGMA_OMP_FLUSH },
   { "for", PRAGMA_OMP_FOR },