From: Tobias Schlüter Date: Sun, 26 Sep 2004 15:44:19 +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=54df0e3ead94d938c820faddb4f0bd18d764dce1;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. Fixed in followup commit. From-SVN: r88132 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 497d9bf5901..37c6b2736f3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,7 @@ 2004-09-26 Tobias Schlueter PR fortran/15164 - * gfortran.dg/pr15164.f90: New test. + * gfortran.dg/pr15164.f90: New test. Fixed in followup commit. 2004-09-26 Roger Sayle diff --git a/gcc/testsuite/gfortran.dg/pr15164.f90 b/gcc/testsuite/gfortran.dg/pr15164.f90 index a1f378897a4..f4fef7069f7 100644 --- a/gcc/testsuite/gfortran.dg/pr15164.f90 +++ b/gcc/testsuite/gfortran.dg/pr15164.f90 @@ -3,13 +3,14 @@ ! 2004-09-26 sources module specfiles contains - subroutine split(i,o,lenout,n) + subroutine split(instring,outstrings,lenout,n,i) 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 + character(len=*),intent(in) :: instring + character(len=lenout),dimension(n),intent(out) :: outstrings + integer(kind=4) :: i,j,k j=1; k=1 outstrings(j)(k:k)=instring(i:i) return end subroutine split end module specfiles +