2017-09-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/54633
* gfortran.dg/intrinsic_bounds_1.f90: New test.
* gfortran.dg/intrinsic_param_1.f90: New test.
From-SVN: r253125
+2017-09-24 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/54633
+ * gfortran.dg/intrinsic_bounds_1.f90: New test.
+ * gfortran.dg/intrinsic_param_1.f90: New test.
+
2017-09-24 Thomas Koenig <tkoenig@gcc.gnu.org>
Steven G. Kargl <kargl@gcc.gnu.org>
--- /dev/null
+! { dg-do compile }
+! PR 54633 - this used to be rejected
+program main
+ integer :: x(minval((/1/),mask=(/.TRUE./)))
+ integer, parameter :: m = minval((/1/))
+ integer :: y(minval((/1/),mask=(/.TRUE./)))
+end
--- /dev/null
+! { dg-do compile }
+! { dg-additional-options "-std=f95" }
+! PR 54633 - this used to be accepted
+program main
+ integer, parameter :: m = minval((/1/)) ! { dg-error "Transformational function" }
+end