[Patch, Fortran] STOP issue with coarrays
Alessandro Fanfarillo
fanfarillo.gcc@gmail.com
Mon Mar 28 11:23:00 GMT 2016
Thanks for the quick feedback.
The patch has been committed on trunk as rev. 234502 and on
gcc-5-branch as rev. 234503 .
In attachment three simple test cases; coarray_stop_str.f90 fails
because of a syntax error in the check string.
I guess the problem is due to the presence of the "STOPPED" string
inside the check string; how can I manage this situation?
Thanks,
Alessandro
PS: Paul, I see this as a good exercise before working on Failed Images :-).
2016-03-27 19:14 GMT+02:00 Paul Richard Thomas <paul.richard.thomas@gmail.com>:
> Hi Alessandro,
>
> The patch is fine for trunk and 5-branch - going on trivial, I would
> say! Are you going to add the testcase?
>
> Thanks a lot! I am impressed that you are doing these between
> celebrating your doctorate and preparing for your move :-)
>
> Paul
>
> On 27 March 2016 at 17:10, Alessandro Fanfarillo
> <fanfarillo.gcc@gmail.com> wrote:
>> Dear all,
>>
>> the attached patch fixes the issue reported by Anton Shterenlikht
>> (https://gcc.gnu.org/ml/fortran/2016-03/msg00037.html). The compiler
>> delegates the external library to manage the STOP statement in case
>> -fcoarray=lib is used.
>>
>> Built and regtested on x86_64-pc-linux-gnu.
>>
>> Ok for trunk and gcc-5-branch?
>
>
>
> --
> The difference between genius and stupidity is; genius has its limits.
>
> Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coarray_stop_nostr.f90
Type: text/x-fortran
Size: 234 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160328/e8638399/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coarray_stop_numeric.f90
Type: text/x-fortran
Size: 240 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160328/e8638399/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coarray_stop_str.f90
Type: text/x-fortran
Size: 276 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160328/e8638399/attachment-0002.bin>
More information about the Fortran
mailing list