Commit 58f38d61 by Janne Blomqvist

re PR libfortran/52608 (The test FM110 of the NIST test suite fails since revision 185433)

2012-03-17  Janne Blomqvist  <jb@gcc.gnu.org>

        PR libfortran/52608
        * gfortran.dh/pr52608.f90: New test.

From-SVN: r185487
parent 789ebabf
2012-03-17 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/52608
* gfortran.dh/pr52608.f90: New test.
2012-03-17 Tobias Burnus <burnus@net-b.de> 2012-03-17 Tobias Burnus <burnus@net-b.de>
PR fortran/52585 PR fortran/52585
......
! PR 52608
! Testcase reduced from NIST testsuite FM110
program fm110_snippet
implicit none
real :: aavs
character(len=100) :: s(2), s2(2)
AAVS = .087654
35043 FORMAT (" ",16X,"COMPUTED: ",22X,1P/26X,F5.4,3X,2P,F5.3,+3P," ",&
(23X,F6.2),3X)
5043 FORMAT (17X,"CORRECT: ",/24X,&
" .8765 8.765 87.65")
WRITE (s,35043) AAVS,AAVS,AAVS
WRITE (s2,5043)
if (s(2) /= s2(2)) call abort()
end program fm110_snippet
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment