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/] [widechar_7.f90] - Rev 302

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.