As I suspected, once the C & C++ parsers are treating the OpenACC routine directive properly, we don't need to mention it in the common attribute table.

committed to gomp4 branch

nathan
2015-08-17  Nathan Sidwell  <nat...@codesourcery.com>

	* c-common (c_common_attribute_table) Remove oacc function.

Index: gcc/c-family/c-common.c
===================================================================
--- gcc/c-family/c-common.c	(revision 226911)
+++ gcc/c-family/c-common.c	(working copy)
@@ -823,7 +823,6 @@ const struct attribute_spec c_common_att
   { "bnd_instrument",         0, 0, true, false, false,
 			      handle_bnd_instrument, false },
   { "oacc declare",           0, -1, true,  false, false, NULL, false },
-  { "oacc function",          0, -1, true,  false, false, NULL, false },
   { NULL,                     0, 0, false, false, false, NULL, false }
 };
 

Reply via email to