This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp4] Tiny c-family addition
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Apr 2013 18:09:15 +0200
- Subject: [gomp4] Tiny c-family addition
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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.
--- 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 },
Jakub