re PR fortran/18271 (INT is allowed in a specification expression)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Mon, 8 May 2006 09:59:09 +0000 (11:59 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 8 May 2006 09:59:09 +0000 (09:59 +0000)
PR libfortran/18271
* gfortran.dg/spec_expr_3.f90: New test.

From-SVN: r113627

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/spec_expr_3.f90 [new file with mode: 0644]

index 5da14b52b9c57887ce35b6ec471ee6b16e95f8c1..a638c4d569ecb321d3dfdb18e0ac2825f1a00a55 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-07  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR libfortran/18271
+       * gfortran.dg/spec_expr_3.f90: New test.
+
 2006-05-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/24879
diff --git a/gcc/testsuite/gfortran.dg/spec_expr_3.f90 b/gcc/testsuite/gfortran.dg/spec_expr_3.f90
new file mode 100644 (file)
index 0000000..27687e5
--- /dev/null
@@ -0,0 +1,7 @@
+! { dg-do compile }
+! PR fortran/18271
+subroutine sub(imax)
+  implicit none
+  integer, intent(in) :: imax
+  real :: aux1(25000+int(0.82*imax))
+end subroutine