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
* [Bug fortran/14055] [gfortran] Constants with a leading + in DATA are always zero 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 ` pinskia at gcc dot gnu dot org 2004-03-06 4:50 ` bdavis9659 at comcast dot net ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-07 2:28 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-07 02:28 ------- Confirmed, this is in the front-end: static int4 ivon08 = 0; static int4 ivon09 = 0; static int4 ivon10 = 0; static int4 ivon06 = 0; static int4 ivon07 = 0; -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |wrong-code Last reconfirmed|0000-00-00 00:00:00 |2004-02-07 02:28:33 date| | Target Milestone|--- |tree-ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14055 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/14055] [gfortran] Constants with a leading + in DATA are always zero 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 ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: bdavis9659 at comcast dot net @ 2004-03-06 4:50 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bdavis9659 at comcast dot net 2004-03-06 04:50 ------- Exactly the same for REAL's, also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14055 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/14055] [gfortran] Constants with a leading + in DATA are always zero 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 ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: bdavis9659 at comcast dot net @ 2004-03-06 20:40 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bdavis9659 at comcast dot net 2004-03-06 20:40 ------- proposed patch submitted to gcc-patches: http://gcc.gnu.org/ml/fortran/2004-03/msg00008.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14055 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/14055] [gfortran] Constants with a leading + in DATA are always zero 2004-02-07 1:57 [Bug fortran/14055] New: [gfortran] Constants with a leading + in DATA are always zero bdavis9659 at comcast dot net ` (2 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-03-24 11:14 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-24 11:14 ------- Subject: Bug 14055 CVSROOT: /cvs/gcc Module name: gcc Branch: tree-ssa-20020619-branch Changes by: pbrook@gcc.gnu.org 2004-03-24 11:14:09 Modified files: gcc/fortran : ChangeLog arith.c gcc/testsuite : ChangeLog.tree-ssa Added files: gcc/testsuite/gfortran.fortran-torture/execute: plusconst_1.f90 Log message: PR 14055 * arith.c (gfc_convert_integer,gfc_convert_real): Removed leading '+' before conversion by gmp library call. testsuite * gfortran.fortran-torture/execute/plusconst_1.f90: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.126&r2=1.1.2.127 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/arith.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.3&r2=1.1.2.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.196&r2=1.1.2.197 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/plusconst_1.f90.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14055 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/14055] [gfortran] Constants with a leading + in DATA are always zero 2004-02-07 1:57 [Bug fortran/14055] New: [gfortran] Constants with a leading + in DATA are always zero bdavis9659 at comcast dot net ` (3 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-03-24 16:01 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-24 16:01 ------- Fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14055 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/14055] [gfortran] Constants with a leading + in DATA are always zero 2004-02-07 1:57 [Bug fortran/14055] New: [gfortran] Constants with a leading + in DATA are always zero bdavis9659 at comcast dot net ` (4 preceding siblings ...) 2004-03-24 16:01 ` pinskia at gcc dot gnu dot org @ 2004-03-24 16:05 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-03-24 16:05 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-24 16:05 ------- Closing now. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 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).