This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH, fortran] Support Fortran 2018 teams
- From: Alessandro Fanfarillo <elfanfa at ucar dot edu>
- To: sgk at troutmask dot apl dot washington dot edu
- Cc: Damian Rouson <damian at sourceryinstitute dot org>, gfortran <fortran at gcc dot gnu dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>, Alessandro Fanfarillo <elfanfa at ucar dot edu>
- Date: Fri, 19 Jan 2018 10:17:01 -0700
- Subject: Re: [PATCH, fortran] Support Fortran 2018 teams
- Authentication-results: sourceware.org; auth=none
- References: <etPan.5a618044.a6086b.de2@sourceryinstitute.org> <20180119153627.GA46977@troutmask.apl.washington.edu>
Yes, definitively ar->team.
On Fri, Jan 19, 2018 at 8:36 AM, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> index 882fe577b76..b4baf5be554 100644
> --- a/gcc/fortran/array.c
> +++ b/gcc/fortran/array.c
> @@ -158,6 +158,7 @@ gfc_match_array_ref (gfc_array_ref *ar, gfc_array_spec
> *as, int init,
> bool matched_bracket = false;
> gfc_expr *tmp;
> bool stat_just_seen = false;
> + bool team_just_seen = false;
>
> memset (ar, '\0', sizeof (*ar));
>
> @@ -230,8 +231,21 @@ coarray:
> if (m == MATCH_ERROR)
> return MATCH_ERROR;
>
> + team_just_seen = false;
> stat_just_seen = false;
> - if (gfc_match(" , stat = %e",&tmp) == MATCH_YES && ar->stat == NULL)
> + if (gfc_match (" , team = %e", &tmp) == MATCH_YES && ar->stat == NULL)
>
>
> Is the 2nd ar->stat suppose to be ar->team?
>
> --
> Steve
--
Alessandro Fanfarillo, Ph.D.
Postdoctoral Researcher
National Center for Atmospheric Research
Mesa Lab, Boulder, CO, USA
303-497-1229