Re: [Patch, Fortran] STOP issue with coarrays

2016-03-28 Thread Alessandro Fanfarillo
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"

Re: [Patch, Fortran] STOP issue with coarrays

2016-03-27 Thread Paul Richard Thomas
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

[Patch, Fortran] STOP issue with coarrays

2016-03-27 Thread Alessandro Fanfarillo
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