re PR fortran/57553 ([F08] Valid use of STORAGE_SIZE rejected, bad error message...
authorHarald Anlauf <anlauf@gmx.de>
Sat, 26 Jan 2019 20:45:55 +0000 (20:45 +0000)
committerHarald Anlauf <anlauf@gcc.gnu.org>
Sat, 26 Jan 2019 20:45:55 +0000 (20:45 +0000)
commit3a55c8e248e82f0d64ed8acb85183fefe53cfc0a
tree145fc1e32ff23706a5373d253e338f8d4da0aaf4
parentfac29445acaf19d58717927e6ee7e6624d2b3cce
re PR fortran/57553 ([F08] Valid use of STORAGE_SIZE rejected, bad error message for invalid use)

2019-01-26  Harald Anlauf  <anlauf@gmx.de>

PR fortran/57553
* expr.c (check_inquiry): Add list of inquiry functions allowed in
constant expressions for F2008+.

2019-01-26  Harald Anlauf  <anlauf@gmx.de>

PR fortran/57553
* gfortran.dg/pr57553.f90: New test.

From-SVN: r268303
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr57553.f90 [new file with mode: 0644]