URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [block_8.f08] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! { dg-options "-std=f2008 -fall-intrinsics" }! Check BLOCK with SAVE'ed variables.PROGRAM mainIMPLICIT NONEINTEGER :: iDO i = 1, 100BLOCKINTEGER, SAVE :: summed = 0summed = summed + iIF (i == 100 .AND. summed /= 5050) CALL abort ()END BLOCKEND DOEND PROGRAM main
