OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [save_2.f90] - Diff between revs 303 and 338

Only display areas with differences | Details | Blame | View Log

Rev 303 Rev 338
! PR fortran/18518
! PR fortran/18518
      program main
      program main
        call foo
        call foo
        call bar
        call bar
        call foo
        call foo
      end program main
      end program main
      subroutine foo
      subroutine foo
        integer i,g,h
        integer i,g,h
        data i/0/
        data i/0/
        equivalence (g,h)
        equivalence (g,h)
        save g
        save g
        if (i == 0) then
        if (i == 0) then
           i = 1
           i = 1
           h = 12345
           h = 12345
        end if
        end if
        if (h .ne. 12345) call abort
        if (h .ne. 12345) call abort
      end subroutine foo
      end subroutine foo
      subroutine bar
      subroutine bar
        integer a(10)
        integer a(10)
        a = 34
        a = 34
      end subroutine bar
      end subroutine bar
 
 

powered by: WebSVN 2.1.0

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