public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18026] New: gfortran: regression w.r.t. g77, lacks -ftypeless-boz
@ 2004-10-15 21:33 anlauf at hep dot tu-darmstadt dot de
  2004-10-15 23:15 ` [Bug fortran/18026] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: anlauf at hep dot tu-darmstadt dot de @ 2004-10-15 21:33 UTC (permalink / raw)
  To: gcc-bugs

Hi,

the following code does not compile with gfortran, although it does
with g77:

      PROGRAM GFCBUG19
      DOUBLE PRECISION inf, nan
c IEEE exceptional values on Intel x87
      DATA inf / Z'7FF0000000000000' /
      DATA nan / Z'FFF8000000000000' /
      print *, inf, nan
      END

% g77 gfcbug19.f -ftypeless-boz && ./a.out
  INF  NAN
% gfc gfcbug19.f -ftypeless-boz
f951: error: unrecognized command line option "-ftypeless-boz"
% gfc gfcbug19.f
 In file gfcbug19.f:4

      DATA inf / Z'7FF0000000000000' /                                  
                                   1
Error: Integer too big for integer kind 4 at (1)
 In file gfcbug19.f:5

      DATA nan / Z'FFF8000000000000' /                                  
                                   1
Error: Integer too big for integer kind 4 at (1)


Cheers,
-ha

-- 
           Summary: gfortran: regression w.r.t. g77, lacks -ftypeless-boz
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at hep dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-15 21:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15 21:33 [Bug fortran/18026] New: gfortran: regression w.r.t. g77, lacks -ftypeless-boz anlauf at hep dot tu-darmstadt dot de
2004-10-15 23:15 ` [Bug fortran/18026] " pinskia at gcc dot gnu dot org
2005-01-06 14:41 ` tobi at gcc dot gnu dot org
2005-03-13 19:05 ` [Bug fortran/18026] boz initialization of REALs fails tobi at gcc dot gnu dot org
2005-03-15 21:05 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).