+2015-11-13 Nathan Sidwell <nathan@codesourcery.com>
+
+ * gimplify.c (oacc_default_clause): Use inform for enclosing scope.
+
2015-11-13 Tom de Vries <tom@codesourcery.com>
* gen-pass-instances.awk (handle_line): Rename prefix_len var to
{
error ("%qE not specified in enclosing OpenACC %qs construct",
DECL_NAME (lang_hooks.decls.omp_report_decl (decl)), rkind);
- error_at (ctx->location, "enclosing OpenACC %qs construct", rkind);
+ inform (ctx->location, "enclosing OpenACC %qs construct", rkind);
}
else
gcc_checking_assert (ctx->default_kind == OMP_CLAUSE_DEFAULT_SHARED);
+2015-11-13 Nathan Sidwell <nathan@codesourcery.com>
+
+ * c-c++-common/goacc/data-default-1.c: Correct expected
+ diagnostic.
+
2015-11-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/68306
int n = 2;
int ary[2];
-#pragma acc parallel default (none) /* { dg-message "parallel construct" 2 } */
+#pragma acc parallel default (none) /* { dg-message "'parallel' construct" 2 } */
{
ary[0] /* { dg-error "not specified in enclosing" } */
= n; /* { dg-error "not specified in enclosing" } */
}
-#pragma acc kernels default (none) /* { dg-message "kernels construct" 2 } */
+#pragma acc kernels default (none) /* { dg-message "'kernels' construct" 2 } */
{
ary[0] /* { dg-error "not specified in enclosing" } */
= n; /* { dg-error "not specified in enclosing" } */