This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp4] oacc function cleanup
- From: Nathan Sidwell <nathan at acm dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 17 Aug 2015 19:06:35 -0400
- Subject: [gomp4] oacc function cleanup
- Authentication-results: sourceware.org; auth=none
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 }
};