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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/38594, in which the symtree for the first
4
! 'g' was being attached to the second. This is necessary
5
! for generic interfaces(eg. hosts_call_3.f90) but makes
6
! a mess otherwise.
7
!
8
! Contributed by Daniel Franke 
9
!
10
MODULE m
11
CONTAINS
12
  SUBROUTINE g()
13
  END SUBROUTINE
14
  SUBROUTINE f()
15
    CALL g()
16
  CONTAINS
17
    SUBROUTINE g()
18
    END SUBROUTINE
19
  END SUBROUTINE
20
END MODULE
21
 
22
  USE m
23
  CALL g()
24
END
25
! { dg-final { cleanup-modules "m" } }

powered by: WebSVN 2.1.0

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