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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gfortran.dg/] [character_assign_1.f90] - Blame information for rev 578

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR35702, which caused an ICE because the types in the assignment
3
! were not translated to be the same.
4
!
5
! Contributed by Dick Hendrickson 
6
!
7
MODULE TESTS
8
  TYPE UNSEQ
9
    CHARACTER(1) :: C
10
  END TYPE UNSEQ
11
CONTAINS
12
  SUBROUTINE CG0028 (TDA1L, TDA1R, nf0, nf1, nf2, nf3)
13
    TYPE(UNSEQ) TDA1L(NF3)
14
    TDA1L(NF1:NF2:NF1)%C = TDA1L(NF0+2:NF3:NF2/2)%C
15
  END SUBROUTINE
16
END MODULE TESTS
17
! { dg-final { cleanup-modules "tests" } }

powered by: WebSVN 2.1.0

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