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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr46985.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
! PR tree-optimization/46985
2
! { dg-do compile }
3
! { dg-options "-O -ftree-pre -ftree-vrp -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre" }
4
 
5
  type :: t
6
    integer :: i
7
  end type t
8
  type(t), target :: tar(2) = (/t(2), t(4)/)
9
  integer, pointer :: ptr(:)
10
  ptr => tar%i
11
  call foo (ptr)
12
contains
13
  subroutine foo (arg)
14
    integer :: arg(:)
15
    arg = arg - 1
16
  end subroutine
17
end

powered by: WebSVN 2.1.0

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