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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [widechar_7.f90] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do compile }
! { dg-options "-fdump-tree-original" }

program test

  character(kind=1,len=10) :: s1 = 4_"foobargee", t1 = 4_""
  character(kind=4,len=10) :: s4 = "foobargee", t4 = ""

  t1(5:5) = s1(6:6)
  t4(5:5) = s4(6:6)
  t4(5:5) = s1(6:6)
  t1(5:5) = s4(6:6)

  call sub (t1, t4)

end program test

! { dg-final { scan-tree-dump-times "memmove" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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