OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [substr_1.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! we used to save the wrong components of a gfc_expr describing a
3
! substring of a constant string.  This yielded a segfault on
4
! translating the expressions read from the module.
5
module m
6
  character (*), parameter :: a = "AABBCC"(1:4)
7
end module m
8
 
9
use m
10
character(4) :: b
11
b = a
12
end
13
 
14
! { dg-final { cleanup-modules "m" } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.