[Bug fortran/105526] [Coarray] Missing checks for arguments of type TEAM_TYPE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105526 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #4) > *** Bug 103796 has been marked as a duplicate of this bug. *** The diff attached to the duplicate did handle the optional form-team-spec-list. + + /* Abort if the unsupported form-team-spec-list is detected. */ + gfc_gobble_whitespace (); + if (gfc_peek_ascii_char () == ',') +{ + gfc_error ("Comma detected at %C. The optional [, " + "form-team-spec-list ] is unsupported. Be a hero and " + "join the gfortran development team."); + return MATCH_ERROR; +} gfortran currently gives hotrats:kargl[203] gfcx -c -fcoarray=single a.f90 a.f90:7:22: 7 | FORM TEAM (ME(1), ROW, NEW_INDEX=ME(2)) | 1 Error: Syntax error in FORM TEAM statement at (1)
[Bug fortran/105526] [Coarray] Missing checks for arguments of type TEAM_TYPE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105526 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||gs...@t-online.de --- Comment #4 from anlauf at gcc dot gnu.org --- *** Bug 103796 has been marked as a duplicate of this bug. ***
[Bug fortran/105526] [Coarray] Missing checks for arguments of type TEAM_TYPE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105526 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|--- |13.0 Status|ASSIGNED|RESOLVED --- Comment #3 from anlauf at gcc dot gnu.org --- Fixed for gcc-13.
[Bug fortran/105526] [Coarray] Missing checks for arguments of type TEAM_TYPE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105526 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5edd0802696f94012731306c704eaf61d184e09c commit r13-277-g5edd0802696f94012731306c704eaf61d184e09c Author: Harald Anlauf Date: Mon May 9 22:14:21 2022 +0200 Fortran: check TEAM arguments to coarray intrinsics TEAM arguments to coarray intrinsics must be scalar expressions of type TEAM_TYPE of intrinsic module ISO_FORTRAN_ENV. gcc/fortran/ChangeLog: PR fortran/105526 * resolve.cc (check_team): New. (gfc_resolve_code): Add checks for arguments to coarray intrinsics FORM TEAM, CHANGE TEAM, and SYNC TEAM. gcc/testsuite/ChangeLog: PR fortran/105526 * gfortran.dg/coarray_50.f90: New test.
[Bug fortran/105526] [Coarray] Missing checks for arguments of type TEAM_TYPE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105526 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.org Last reconfirmed||2022-05-09 --- Comment #1 from anlauf at gcc dot gnu.org --- Patch submitted: https://gcc.gnu.org/pipermail/fortran/2022-May/057842.html