* [gomp4,committed] Handle device-resident and link map kinds in dump_omp_clause
@ 2015-10-16 12:22 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2015-10-16 12:22 UTC (permalink / raw)
To: gcc-patches; +Cc: Jakub Jelinek
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
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
[-- Attachment #2: 0001-Handle-device-resident-and-link-map-kinds-in-dump_om.patch --]
[-- Type: text/x-patch, Size: 793 bytes --]
Handle device-resident and link map kinds in dump_omp_clause
2015-10-16 Tom de Vries <tom@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-16 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-16 12:22 [gomp4,committed] Handle device-resident and link map kinds in dump_omp_clause Tom de Vries
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).