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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-options "-fbounds-check" }
3
program main
4
  real, dimension(2,2) :: result
5
  real, dimension(6) :: source
6
  real, dimension(2) :: pad
7
 
8
  call random_number (source)
9
  call random_number (pad)
10
 
11
  result = reshape(source, shape(result),pad=pad(1:0))
12
  result = reshape(source, shape(result))
13
  result = reshape(source, shape(result),pad=pad)
14
 
15
end program main

powered by: WebSVN 2.1.0

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