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] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! { dg-options "-O2 -fdump-tree-original" }
3
subroutine foo(a)
4
  integer, dimension (4) :: a
5
  integer :: n
6
 
7
  n = 3
8
  where (a(:n-1) .ne. 0)
9
    a(:n-1) = 1
10
  endwhere
11
end subroutine
12
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }
13
! { 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.