Hi,
this patch fixes an ICE when compiling c-c++-common/goacc/declare-1.c
with -fdump-tree-omplower.
Committed to gomp-4_0-branch.
Thanks,
- Tom
Handle device-resident and link map kinds in dump_omp_clause
2015-10-16 Tom de Vries <t...@codesourcery.com>
* tree-pretty-print.c (dump_omp_clause): Handle device-resident and link
map kinds.
---
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 1b52aa2..33559f0 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -552,6 +552,12 @@ dump_omp_clause (pretty_printer *pp, tree clause, int spc, int flags)
case GOMP_MAP_FORCE_DEVICEPTR:
pp_string (pp, "force_deviceptr");
break;
+ case GOMP_MAP_DEVICE_RESIDENT:
+ pp_string (pp, "device_resident");
+ break;
+ case GOMP_MAP_LINK:
+ pp_string (pp, "link");
+ break;
default:
gcc_unreachable ();
}
--
1.9.1