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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [array_constructor_14.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-O2 -fdump-tree-original" }
3
 
4
subroutine foo(x)
5
  integer :: x(4)
6
  x(:) = (/ 3, 1, 4, 1 /)
7
end subroutine
8
 
9
subroutine bar(x)
10
  integer :: x(4)
11
  x = (/ 3, 1, 4, 1 /)
12
end subroutine
13
 
14
! { dg-final { scan-tree-dump-times "data" 0 "original" } }
15
! { 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.