[Bug fortran/78219] [F08] specifying the kind of a FORALL index in the header

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 21 20:01:36 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78219

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #9 from anlauf at gcc dot gnu.org ---
(In reply to kargl from comment #7)
> diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c

The patch unfortunately seems incomplete.  It fails when using IMPLICIT NONE
or -fimplicit-none with:

pr78219.f90:3:30:

    3 |   forall (integer(kind=4) :: i = 1:10)
      |                              1
Error: Symbol 'i' at (1) has no IMPLICIT type

and similarly for pr102371.


More information about the Gcc-bugs mailing list