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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [array_3.f90] - Rev 826

Compare with Previous | Blame | View Log

! { dg-do compile }
! PR31610 ICE with transfer, merge in gfc_conv_expr_descriptor
  integer :: i(1) = 1
  integer :: foo(3)
  integer :: n(1)
  foo(1) = 17
  foo(2) = 55
  foo(3) = 314
  print *, i, foo
  write(*,*) foo([1]), foo([1]+i), [1]+1
  n = foo([1]+i)
  print *, n, shape(foo([1]+i)), shape(foo(i+[1]))
end

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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