[Bug fortran/88154] [F18] ICE: Intrinsic function '_gfortran_caf_get_team' (119) not recognized
zbeekman at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Apr 25 14:28:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88154
--- Comment #3 from Zaak <zbeekman at gmail dot com> ---
Some additional test cases from the OC bug tracker. These fail using
gfortran -fcoarray=single
and when linking against opencoarrays, so it seems there is an issue on the GCC
side (possibly the OC side too, but let's get -fcoarray=single working first)
-----------------8<----------------------------
I get a compile error when trying to use the get_team() intrinsic:
program test_get_team
use, intrinsic :: iso_fortran_env, only: team_type
type(team_type) :: initial
initial = get_team()
end program test_get_team
Compiling the above, I get:
../get-team.f90:4:13:
initial = get_team()
1
Error: Can't convert INTEGER(4) to TYPE(team_type) at (1)
So, it appears that get_team() returns an integer.
FURTHER...
I then changed the return type to an integer:
program test_get_team
use, intrinsic :: iso_fortran_env, only: team_type
integer :: tn
tn = get_team()
end program test_get_team
I then get a internal compiler error
More information about the Gcc-bugs
mailing list