re PR fortran/78392 (ICE in gfc_trans_auto_array_allocation, at fortran/trans-array...
authorJanus Weil <janus@gcc.gnu.org>
Mon, 12 Dec 2016 18:54:54 +0000 (19:54 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 12 Dec 2016 18:54:54 +0000 (19:54 +0100)
commit068b961b6a5ad37898cee76ce0e80ef46001eb03
tree94f26051c1bbc2bd927fc10c86cdce7e02428131
parente4d604062535264fd7973c29f3343d1e51951437
re PR fortran/78392 (ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979)

2016-12-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/78392
* expr.c (gfc_is_constant_expr): Specification functions are not
compile-time constants. Update documentation (add reference to F08
standard), add a FIXME.
(external_spec_function): Add reference to F08 standard.
* resolve.c (resolve_fl_variable): Ditto.

2016-12-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/78392
* gfortran.dg/constant_shape.f90: New test case.

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