OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [assumed_charlen_function_4.f90] - Blame information for rev 193

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR28600 in which the declaration for the
3
! character length n, would be given the DECL_CONTEXT of 'gee'
4
! thus causing an ICE.
5
!
6
! Contributed by Francois-Xavier Coudert  
7
!
8
subroutine bar(s, n)
9
 integer n
10
 character s*(n)
11
 character*3, dimension(:), pointer :: m
12
 s = ""
13
contains
14
 subroutine gee
15
    m(1) = s(1:3)
16
 end subroutine gee
17
end subroutine bar

powered by: WebSVN 2.1.0

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