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] oacc function cleanup


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  <nathan@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 }
 };
 

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