On Thu, May 20, 2021 at 04:11:10PM +0200, Marcel Vollweiler wrote:
> --- a/gcc/fortran/openmp.c
> +++ b/gcc/fortran/openmp.c
> @@ -1710,27 +1710,62 @@ gfc_match_omp_clauses (gfc_omp_clauses **cp, const
> omp_mask mask,
> && gfc_match ("map ( ") == MATCH_YES)
> {
> locus old_loc2 = gfc_current_locus;
> - bool always = false;
> + int always_modifier = 0;
> + int close_modifier = 0;
> + locus second_always_locus;
> + locus second_close_locus;
I'm afraid this will or might lead to -Wmaybe-uninitialized errors.
Just initialize those two to = old_loc2; or so.
Ok for trunk with that change.
Jakub