ICE passing coarrays to subroutine

Alessandro Fanfarillo fanfarillo.gcc@gmail.com
Sat Jan 24 14:07:00 GMT 2015


In attachment a minimal version of cg.f which reproduces the problem.

I'm preparing the PR as well.

Thanks

2015-01-24 13:54 GMT+01:00 Thomas Koenig <tkoenig@netcologne.de>:
> Hello Allesandro,
>
>> Sorry about that, here is the ICE:
>>
>> $ gfortran -fcoarray=lib -c cg.f
>> cg.f:1464:22:
>>
>>       >             v, iv(1), iv(n+1), nnza )
>>                       1
>
> Can you reduce this to a self-contained test case (and submit a PR)?
> Otherwise, it is extremely hard to debug.
>
> Regards
>
>         Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cg.f
Type: text/x-fortran
Size: 13238 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150124/d5108659/attachment.bin>


More information about the Fortran mailing list