URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [substr_1.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! we used to save the wrong components of a gfc_expr describing a
! substring of a constant string. This yielded a segfault on
! translating the expressions read from the module.
module m
character (*), parameter :: a = "AABBCC"(1:4)
end module m
use m
character(4) :: b
b = a
end
! { dg-final { cleanup-modules "m" } }
Go to most recent revision | Compare with Previous | Blame | View Log