------- Additional Comments From tobi at gcc dot gnu dot org  2005-03-13 19:05 
-------
While the compile-time error has disappeared, we now give the following
incorrect output at runtime:
[EMAIL PROTECTED] tests]$ ./a.out
  9.218868437227405E+018  1.844449227389587E+019
[EMAIL PROTECTED] tests]$         

The following testcase gives the expected result, though:
      PROGRAM GFCBUG19
      integer*8 infi, nani
      DOUBLE PRECISION inf, nan
      equivalence (infi, inf), (nani, nan)
!c IEEE exceptional values on Intel x87
      DATA infi / Z'7FF0000000000000' /
      DATA nani / Z'FFF8000000000000' /
      print *, inf, nan
      END
[EMAIL PROTECTED] tests]$ ./a.out
               +Infinity                     NaN
[EMAIL PROTECTED] tests]$       

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gfortran: regression w.r.t. |boz initialization of REALs
                   |g77, lacks -ftypeless-boz   |fails


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18026

Reply via email to