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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [dependency_11.f90] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
! { dg-do compile }
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
! { dg-options "-O2 -fdump-tree-original" }
subroutine foo(a)
subroutine foo(a)
  integer, dimension (4) :: a
  integer, dimension (4) :: a
  integer :: n
  integer :: n
  n = 3
  n = 3
  where (a(:n-1) .ne. 0)
  where (a(:n-1) .ne. 0)
    a(:n-1) = 1
    a(:n-1) = 1
  endwhere
  endwhere
end subroutine
end subroutine
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }
! { dg-final { cleanup-tree-dump "original" } }
 
 

powered by: WebSVN 2.1.0

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