]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/langhooks.h
re PR fortran/44536 (OMP: missing error with default(none))
[thirdparty/gcc.git] / gcc / langhooks.h
index c0744e878987216939b354cd339dd8383f363050..535529a08f01dc86651f9b465c40e7693c257397 100644 (file)
@@ -195,6 +195,10 @@ struct lang_hooks_for_decls
      predetermined, OMP_CLAUSE_DEFAULT_UNSPECIFIED otherwise.  */
   enum omp_clause_default_kind (*omp_predetermined_sharing) (tree);
 
+  /* Return decl that should be reported for DEFAULT(NONE) failure
+     diagnostics.  Usually the DECL passed in.  */
+  tree (*omp_report_decl) (tree);
+
   /* Return true if DECL's DECL_VALUE_EXPR (if any) should be
      disregarded in OpenMP construct, because it is going to be
      remapped during OpenMP lowering.  SHARED is true if DECL