public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Fix ICE in oacc_verify_routine_clauses
@ 2021-05-13 16:13 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:13 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:83deb67d86ff4eab6bdf1a912333f7ffa8ad74cf
commit 83deb67d86ff4eab6bdf1a912333f7ffa8ad74cf
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Thu Feb 20 12:56:13 2020 -0800
Fix ICE in oacc_verify_routine_clauses
2020-02-20 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/
* omp-general.c (oacc_verify_routine_clauses): Handle
OMP_CLAUSE_NOHOST.
Diff:
---
gcc/ChangeLog.omp | 5 +++++
gcc/omp-general.c | 2 ++
2 files changed, 7 insertions(+)
diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index b9b3545d2d6..e2876b6aa34 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -1,3 +1,8 @@
+2020-02-20 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * omp-general.c (oacc_verify_routine_clauses): Handle
+ OMP_CLAUSE_NOHOST.
+
2020-02-19 Julian Brown <julian@codesourcery.com>
* gimplify.c (gimplify_scan_omp_clauses): Handle
diff --git a/gcc/omp-general.c b/gcc/omp-general.c
index fa6de01722b..ed21aca0be9 100644
--- a/gcc/omp-general.c
+++ b/gcc/omp-general.c
@@ -2608,6 +2608,8 @@ oacc_verify_routine_clauses (tree fndecl, tree *clauses, location_t loc,
c = c_p;
}
break;
+ case OMP_CLAUSE_NOHOST:
+ break;
default:
gcc_unreachable ();
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-13 16:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:13 [gcc/devel/omp/gcc-11] Fix ICE in oacc_verify_routine_clauses Kwok Yeung
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).