From: Tobias Schlüter Date: Sun, 26 Sep 2004 15:24:57 +0000 (+0200) Subject: re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fafdb00c1562f81ef183c6cb6397f9b008655a75;p=gcc.git re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed) PR fortran/15164 * gfortran.dg/pr15164.f90: New test. From-SVN: r88131 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f6ac25c0f07..497d9bf5901 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-26 Tobias Schlueter + + PR fortran/15164 + * gfortran.dg/pr15164.f90: New test. + 2004-09-26 Roger Sayle PR middle-end/17112 diff --git a/gcc/testsuite/gfortran.dg/pr15164.f90 b/gcc/testsuite/gfortran.dg/pr15164.f90 new file mode 100644 index 00000000000..a1f378897a4 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/pr15164.f90 @@ -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