[Bug fortran/87337] Internal compiler error on coarrays
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Oct 21 09:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87337
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-10-21
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Seems to at least compile properly with GCC 9, FWIW.
It compiles also with 7.3 and 8.2. At run time I get
At line 341 of file pr87337.f90
Fortran runtime error: Attempt to DEALLOCATE unallocated 'f'
if the code is complied with -fcoarray=lib -lcaf_single. If I add -fcheck=all,
I get
At line 341 of file pr87337.f90
Fortran runtime error: Index '127' of dimension 1 of array 'f' above upper
bound of 126
More information about the Gcc-bugs
mailing list