URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { dg-do compile }
|
! { dg-do compile }
|
! I couldn't reproduce the failure with a compiler built from the
|
! I couldn't reproduce the failure with a compiler built from the
|
! 2004-09-26 sources
|
! 2004-09-26 sources
|
module specfiles
|
module specfiles
|
contains
|
contains
|
subroutine split(instring,outstrings,lenout,n,i)
|
subroutine split(instring,outstrings,lenout,n,i)
|
integer(kind=4),intent(in) :: lenout,n
|
integer(kind=4),intent(in) :: lenout,n
|
character(len=*),intent(in) :: instring
|
character(len=*),intent(in) :: instring
|
character(len=lenout),dimension(n),intent(out) :: outstrings
|
character(len=lenout),dimension(n),intent(out) :: outstrings
|
integer(kind=4) :: i,j,k
|
integer(kind=4) :: i,j,k
|
j=1; k=1
|
j=1; k=1
|
outstrings(j)(k:k)=instring(i:i)
|
outstrings(j)(k:k)=instring(i:i)
|
return
|
return
|
end subroutine split
|
end subroutine split
|
end module specfiles
|
end module specfiles
|
|
|
! { dg-final { cleanup-modules "specfiles" } }
|
! { dg-final { cleanup-modules "specfiles" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.