This fixes a number of minor issues that can cause the build to fail on
recent versions of GCC.
2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/fortran/
* openmp.cc (gfc_resolve_omp_allocate): Initialize tail to NULL.
(This should be a fixup to
491478d12b83e102f72858e8a871a25c951df293: 'Add
parsing support for allocate directive (OpenMP 5.0)')
2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/
* omp-offload.cc (oacc_loop_get_cfg_loop): Cast tail_mark to
gimple* for dump_printf.
* tree-scalar-evolution.cc (oacc_ifn_call_extract): Remove
unused variable 'call'.
(This should be a fixup to
491478d12b83e102f72858e8a871a25c951df293: 'Build
fix for 'openacc: Use Graphite for dependence analysis in "kernels" region')
2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/
* omp-low.cc (usm_transform): Remove unused function argument.
(This should be a fixup to
54c2d861ac62e30ebf34a4e62ee0d55478a742b9: 'Build
fix for 'openmp: Use libgomp memory allocation functions with unified shared
memory')
2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/
* omp-offload.cc (oacc_loop_warn_if_false_independent): Remove extra
'.' at end of message.
(This should be a fixup to
01e6774b725ffa667efd818a46795189a281addf: 'Build
fix for 'openacc: Warn about "independent" "kernels" loops with
data-dependences')
2022-06-30 Tobias Burnus <tobias@codesourcery.com>
gcc/
* graphite-isl-ast-to-gimple.cc (graphite_oacc_analyze_scop): Update
arguments of dump_printf.
(This should be a fixup to
a7e863fc4d54fb645fef05f01a024250184964bb:
'openacc: Add runtime alias checking for OpenACC kernels')
+2022-06-30 Tobias Burnus <tobias@codesourcery.com>
+
+ * graphite-isl-ast-to-gimple.cc (graphite_oacc_analyze_scop): Update
+ arguments of dump_printf.
+
+2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * omp-offload.cc (oacc_loop_warn_if_false_independent): Remove extra
+ '.' at end of message.
+
+2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * omp-low.cc (usm_transform): Remove unused function argument.
+
+2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * omp-offload.cc (oacc_loop_get_cfg_loop): Cast tail_mark to
+ gimple* for dump_printf.
+ * tree-scalar-evolution.cc (oacc_ifn_call_extract): Remove
+ unused variable 'call'.
+
2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
* gimplify.cc (gimplify_scan_omp_clauses): Remove extra
+2022-06-30 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * openmp.cc (gfc_resolve_omp_allocate): Initialize tail to NULL.
+
2022-05-22 Kwok Cheung Yeung <kcy@codesourcery.com>
* trans-array.cc (gfc_conv_array_ref): Update arguments to
gfc_alloc *al;
gfc_omp_namelist *n = NULL;
gfc_omp_namelist *cn = NULL;
- gfc_omp_namelist *p, *tail;
+ gfc_omp_namelist *p, *tail = NULL;
gfc_code *cur;
hash_set<gfc_symbol*> vars;
if (dump_enabled_p () && dump_flags & TDF_DETAILS)
dump_printf (MSG_NOTE,
"Runtime alias condition applied to: %G",
- goacc_call);
+ stmt);
}
}
}
nothing much to do here. */
if (dump_enabled_p ())
dump_printf (MSG_NOTE, "Runtime alias check *not* inserted for"
- " bb %d (GOACC_LOOP not found)");
+ " bb %d (GOACC_LOOP not found)",
+ goacc_loop_block->index);
/* Unset can_be_parallel, in case something else might use it. */
for (unsigned int i = 0; i < region->bbs.length (); i++)
static tree
usm_transform (gimple_stmt_iterator *gsi_p, bool *,
- struct walk_stmt_info *wi)
+ struct walk_stmt_info *)
{
gimple *stmt = gsi_stmt (*gsi_p);
/* ompx_unified_shared_mem_alloc is 10. */
if (dump_file && (dump_flags & TDF_DETAILS))
dump_printf (MSG_OPTIMIZED_LOCATIONS | MSG_PRIORITY_INTERNALS, "%G",
- tail_mark);
+ (gimple *) tail_mark);
loop_p mark_cfg_loop = tail_mark->bb->loop_father;
loop_p current_cfg_loop = mark_cfg_loop;
if (!can_be_parallel)
warning_at (loop->loc, 0,
"loop has \"independent\" clause but data dependences were "
- "found.");
+ "found");
}
/* Walk the OpenACC loop hierarchy checking and assigning the
tree
oacc_ifn_call_extract (gimple *stmt)
{
- gcall *call = as_a<gcall *> (stmt);
-
if (oacc_call_analyzable_p (stmt))
{
gcc_assert (gimple_call_internal_p (stmt, IFN_GOACC_LOOP));