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]

[gomp4] Tiny c-family addition


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


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