array_memcpy_1.f90

来自「用于进行gcc测试」· F90 代码 · 共 29 行

F90
29
字号
! { dg-do compile }! { dg-options "-O2 -fdump-tree-original" }subroutine testi(a,b)  integer :: a(20)  integer :: b(20)  a = b;end subroutinesubroutine testr(a,b)  real :: a(20)  real :: b(20)  a = b;end subroutinesubroutine testz(a,b)  complex :: a(20)  complex :: b(20)  a = b;end subroutinesubroutine testl(a,b)  logical :: a(20)  logical :: b(20)  a = b;end subroutine! { dg-final { scan-tree-dump-times "memcpy" 4 "original" } }! { dg-final { cleanup-tree-dump "original" } }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?