This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp4,committed] Handle bind clause in dump_omp_clause
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Cc: Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 16 Oct 2015 17:39:04 +0200
- Subject: [gomp4,committed] Handle bind clause in dump_omp_clause
- Authentication-results: sourceware.org; auth=none
Hi,
this patch handles the oacc bind clause in dump_omp_clause.
Committed to gomp-4_0-branch.
Thanks,
- Tom
Handle bind clause in dump_omp_clause
2015-10-16 Tom de Vries <tom@codesourcery.com>
* tree-pretty-print.c (dump_omp_clause): Handle bind clause.
---
gcc/tree-pretty-print.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 19ebdbc..c651b03 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -805,6 +805,12 @@ dump_omp_clause (pretty_printer *pp, tree clause, int spc, int flags)
case OMP_CLAUSE_NOHOST:
pp_string (pp, "nohost");
break;
+ case OMP_CLAUSE_BIND:
+ pp_string (pp, "bind(");
+ dump_generic_node (pp, OMP_CLAUSE_BIND_NAME (clause),
+ spc, flags, false);
+ pp_string (pp, ")");
+ break;
default:
pp_string (pp, "unknown");
--
1.9.1