]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix ICE in oacc_verify_routine_clauses
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 20 Feb 2020 20:56:13 +0000 (12:56 -0800)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 9 Jun 2020 22:32:00 +0000 (15:32 -0700)
2020-02-20  Kwok Cheung Yeung  <kcy@codesourcery.com>

gcc/
* omp-general.c (oacc_verify_routine_clauses): Handle
OMP_CLAUSE_NOHOST.

gcc/ChangeLog.omp
gcc/omp-general.c

index ae763509dc8a36f55143199f483f8ba11d1085f8..fc6d1b32dbacf3e5464b8f13c23d19505bdbdfb8 100644 (file)
@@ -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
index 49023f42c473ae52ef0827d856f98537d99ed101..ea6567eb6faa7706c7833c184b88c1272a5a6230 100644 (file)
@@ -1759,6 +1759,8 @@ oacc_verify_routine_clauses (tree fndecl, tree *clauses, location_t loc,
            c = c_p;
          }
        break;
+      case OMP_CLAUSE_NOHOST:
+       break;
       default:
        gcc_unreachable ();
       }