public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [gomp4] oacc function cleanup
@ 2015-08-18  0:50 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2015-08-18  0:50 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

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

[-- Attachment #2: gomp4-routine-attr.patch --]
[-- Type: text/x-patch, Size: 691 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-17 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18  0:50 [gomp4] oacc function cleanup Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).