re PR fortran/91496 (!GCC$ directives error if mistyped or unknown)
authorHarald Anlauf <anlauf@gmx.de>
Thu, 5 Sep 2019 20:13:00 +0000 (20:13 +0000)
committerHarald Anlauf <anlauf@gcc.gnu.org>
Thu, 5 Sep 2019 20:13:00 +0000 (20:13 +0000)
commit3c0f026505aca54c200b36870256c886b05eb4ff
tree46d1956bc9e46a12f12f38967acbb25e024bfc87
parent0e521c64613e0407bd086a26322402b29daeb370
re PR fortran/91496 (!GCC$ directives error if mistyped or unknown)

2019-09-05  Harald Anlauf  <anlauf@gmx.de>

PR fortran/91496
* parse.c (parse_executable): Improve error messages for
improperly placed pragmas not preceeding a loop.

PR fortran/91496
* gfortran.dg/directive_unroll_5.f90: Adjust error message.

From-SVN: r275442
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/directive_unroll_5.f90