URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.