URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 303 |
Rev 384 |
program alt_return
|
program alt_return
|
implicit none
|
implicit none
|
|
|
call myproc (1, *10, 42)
|
call myproc (1, *10, 42)
|
20 continue
|
20 continue
|
call abort ()
|
call abort ()
|
10 continue
|
10 continue
|
call myproc(2, *20, 42)
|
call myproc(2, *20, 42)
|
call myproc(3, *20, 42)
|
call myproc(3, *20, 42)
|
contains
|
contains
|
subroutine myproc(n, *, i)
|
subroutine myproc(n, *, i)
|
integer n, i
|
integer n, i
|
if (i .ne. 42) call abort ()
|
if (i .ne. 42) call abort ()
|
if (n .eq. 1) return 1
|
if (n .eq. 1) return 1
|
if (n .eq. 2) return
|
if (n .eq. 2) return
|
end subroutine
|
end subroutine
|
end program alt_return
|
end program alt_return
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.