public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/14055] New: [gfortran]  Constants with a leading + in DATA are always zero
@ 2004-02-07  1:57 bdavis9659 at comcast dot net
  2004-02-07  2:28 ` [Bug fortran/14055] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-02-07  1:57 UTC (permalink / raw)
  To: gcc-bugs

The below data statements do not initialize the variables:

      DATA IVON06,IVON07,IVON08,IVON09,IVON10/+3,+76,+587,+9999,+21111/
      PRINT*,IVON06,IVON07,IVON08,IVON09,IVON10
      END

$ /usr/local/bin/gfortran -g -static FM007.FOR
$ ./a.out
           0            0            0            0            0


$ g77 -g -static FM007.FOR
$ ./a.out
 3 76 587 9999 21111
$


/usr/local/bin/gfortran --version
GNU Fortran 95 (GCC 3.5-tree-ssa 20040206 (merged 20040126))
Copyright (C) 2003 Free Software Foundation, Inc.

-- 
           Summary: [gfortran]  Constants with a leading + in DATA are
                    always zero
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-03-24 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-07  1:57 [Bug fortran/14055] New: [gfortran] Constants with a leading + in DATA are always zero bdavis9659 at comcast dot net
2004-02-07  2:28 ` [Bug fortran/14055] " pinskia at gcc dot gnu dot org
2004-03-06  4:50 ` bdavis9659 at comcast dot net
2004-03-06 20:40 ` bdavis9659 at comcast dot net
2004-03-24 11:14 ` cvs-commit at gcc dot gnu dot org
2004-03-24 16:01 ` pinskia at gcc dot gnu dot org
2004-03-24 16:05 ` pinskia 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).