re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sun, 26 Sep 2004 15:24:57 +0000 (17:24 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sun, 26 Sep 2004 15:24:57 +0000 (17:24 +0200)
PR fortran/15164
* gfortran.dg/pr15164.f90: New test.

From-SVN: r88131

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

index f6ac25c0f07f4404f154881a223db4fb809a9a56..497d9bf59013c77ba306d9ccf6643aed798973a1 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-26  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       PR fortran/15164
+       * gfortran.dg/pr15164.f90: New test.
+
 2004-09-26  Roger Sayle  <roger@eyesopen.com>
 
        PR middle-end/17112
diff --git a/gcc/testsuite/gfortran.dg/pr15164.f90 b/gcc/testsuite/gfortran.dg/pr15164.f90
new file mode 100644 (file)
index 0000000..a1f3788
--- /dev/null
@@ -0,0 +1,15 @@
+! { dg-do compile }
+! I couldn't reproduce the failure with a compiler built from the
+! 2004-09-26 sources
+      module specfiles
+      contains
+      subroutine split(i,o,lenout,n)
+      integer(kind=4),intent(in) :: lenout,n
+      character(len=*),intent(in) :: i
+      character(len=lenout),dimension(n),intent(out) :: o
+      integer(kind=4) :: j,k,l
+      j=1; k=1
+       outstrings(j)(k:k)=instring(i:i)
+      return
+      end subroutine split
+      end module specfiles