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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! PR rtl-optimization/47008
2
! { dg-do run }
3
! { dg-options "-Os -fno-asynchronous-unwind-tables -fschedule-insns -fsched-pressure -fno-inline" { target i?86-*-* x86_64-*-* } }
4
 
5
program main
6
  type :: t
7
    integer :: i
8
    character(24) :: c
9
    type (t), pointer :: p
10
  end type t
11
  type(t), pointer :: r, p
12
  allocate (p)
13
  p = t (123455, "", p)
14
  r => entry ("", 123456, 1, "", 99, "", p)
15
  if (p%i /= 123455) call abort
16
contains
17
  function entry (x, i, j, c, k, d, p) result (q)
18
    integer :: i, j, k
19
    character (*) :: x, c, d
20
    type (t), pointer :: p, q
21
    allocate (q)
22
    q = t (i, c, p)
23
  end function
24
end program main

powered by: WebSVN 2.1.0

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