match.c (gfc_match_stopcode): Permit error stop in pure procedures with F2015.
authorTobias Burnus <burnus@net-b.de>
Wed, 31 Dec 2014 17:16:06 +0000 (18:16 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 31 Dec 2014 17:16:06 +0000 (18:16 +0100)
commit2e9cc48c28941114a7b05e42d1ab6abd6919ce62
treec17275a2aa720df2f31c19545be1af6909c60919
parent1a33dc9ec24fed0406de07f54e0442915e3cfedb
match.c (gfc_match_stopcode): Permit error stop in pure procedures with F2015.

gcc/fortran/
2014-12-31  Tobias Burnus  <burnus@net-b.de>

        * match.c (gfc_match_stopcode): Permit error stop in pure
        procedures with F2015.

gcc/testsuite/
2014-12-31  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/error_stop_3.f90: New.
        * gfortran.dg/error_stop_4.f90: New.
        * gfortran.dg/coarray_3.f90: Remove a dg-error.

From-SVN: r219127
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_3.f90
gcc/testsuite/gfortran.dg/error_stop_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/error_stop_4.f90 [new file with mode: 0644]