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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [save_2.f90] - Rev 695

Compare with Previous | Blame | View Log

! PR fortran/18518
      program main
        call foo
        call bar
        call foo
      end program main

      subroutine foo
        integer i,g,h
        data i/0/
        equivalence (g,h)
        save g
        if (i == 0) then
           i = 1
           h = 12345
        end if
        if (h .ne. 12345) call abort
      end subroutine foo

      subroutine bar
        integer a(10)
        a = 34
      end subroutine bar

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.