1 2 3 4 5 6 7 8 9 10 11 12 13
c { dg-do run } DOUBLE PRECISION VALUE(2), TOLD, BK DATA VALUE /0D0, 1D0/ DATA TOLD /0D0/ DO I=1, 2 BK = VALUE(I) IF(BK .GT. TOLD) GOTO 10 ENDDO WRITE(*,*)'Error: BK = ', BK CALL ABORT 10 CONTINUE WRITE(*,*)'No Error: BK = ', BK END