public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17541] New: data statements with double precision constants fail
@ 2004-09-17 22:41 rkoenker at uiuc dot edu
2004-09-18 0:10 ` [Bug fortran/17541] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: rkoenker at uiuc dot edu @ 2004-09-17 22:41 UTC (permalink / raw)
To: gcc-bugs
Given the program below one is assigned to zero
program test
double precision x
call dbug(x)
stop
end
subroutine dbug(x)
double precision x,one
data one/1.d0/
write(*,*) one
return
end
rkoenker@welch-gentoo rkoenker $ g77 test.f
rkoenker@welch-gentoo rkoenker $ ./a.out
0.
rkoenker@welch-gentoo rkoenker $ g77 -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/specs
Configured with: /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/configure --prefix=/usr --bindir=/
usr/x86_64-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/
include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/
x86_64-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/info --
enable-shared --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-system-zlib --
enable-languages=c,c++,f77 --enable-threads=posix --enable-long-long --disable-checking --
disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-
gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3 --with-local-prefix=/
usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-
multilib --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
--
Summary: data statements with double precision constants fail
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rkoenker at uiuc dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
@ 2004-09-18 0:10 ` pinskia at gcc dot gnu dot org
2004-09-18 12:01 ` [Bug fortran/17541] [g77] " toon at moene dot indiv dot nluug dot nl
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-18 0:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-18 00:10 -------
*** This bug has been marked as a duplicate of 15397 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
2004-09-18 0:10 ` [Bug fortran/17541] " pinskia at gcc dot gnu dot org
@ 2004-09-18 12:01 ` toon at moene dot indiv dot nluug dot nl
2004-09-19 6:11 ` bdavis at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: toon at moene dot indiv dot nluug dot nl @ 2004-09-18 12:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From toon at moene dot indiv dot nluug dot nl 2004-09-18 12:01 -------
I'm sorry Andrew, but this cannot be a duplicate of 15397, because this bug
doesn't involve functions, while function results are the culprit in 15397.
Reopening ...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
Summary|data statements with double |[g77] data statements with
|precision constants fail |double precision constants
| |fail
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
2004-09-18 0:10 ` [Bug fortran/17541] " pinskia at gcc dot gnu dot org
2004-09-18 12:01 ` [Bug fortran/17541] [g77] " toon at moene dot indiv dot nluug dot nl
@ 2004-09-19 6:11 ` bdavis at gcc dot gnu dot org
2004-09-19 14:11 ` bdavis at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-09-19 6:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-09-19 06:11 -------
proposed patch:
http://gcc.gnu.org/ml/fortran/2004-09/msg00176.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
` (2 preceding siblings ...)
2004-09-19 6:11 ` bdavis at gcc dot gnu dot org
@ 2004-09-19 14:11 ` bdavis at gcc dot gnu dot org
2004-09-21 12:54 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-09-19 14:11 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.3
Version|3.4.1 |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
` (3 preceding siblings ...)
2004-09-19 14:11 ` bdavis at gcc dot gnu dot org
@ 2004-09-21 12:54 ` cvs-commit at gcc dot gnu dot org
2004-09-21 12:57 ` [Bug fortran/17541] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-21 12:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-21 12:54 -------
Subject: Bug 17541
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: bdavis@gcc.gnu.org 2004-09-21 12:54:35
Modified files:
gcc/f : bld.c ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g77.f-torture/execute: pr17541.f
Log message:
2004-09-21 Bud Davis <bdavis9659@comcast.net>
PR fortran/17541
* bld.c (ffebld_constant_new_real2_val): Fix typo,
PR fortran/17541
* g77.f-torture/execute/pr17541.f: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/f/bld.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.16.14.1&r2=1.16.14.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/f/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.622.2.19&r2=1.622.2.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.270&r2=1.3389.2.271
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g77.f-torture/execute/pr17541.f.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [3.4 Regression] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
` (4 preceding siblings ...)
2004-09-21 12:54 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-21 12:57 ` pinskia at gcc dot gnu dot org
2004-09-22 21:22 ` pinskia at gcc dot gnu dot org
2004-09-29 15:48 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 12:57 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Summary|[g77] data statements with |[3.4 Regression] [g77] data
|double precision constants |statements with double
|fail |precision constants fail
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [3.4 Regression] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
` (5 preceding siblings ...)
2004-09-21 12:57 ` [Bug fortran/17541] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-22 21:22 ` pinskia at gcc dot gnu dot org
2004-09-29 15:48 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-22 21:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 21:22 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17541] [3.4 Regression] [g77] data statements with double precision constants fail
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
` (6 preceding siblings ...)
2004-09-22 21:22 ` pinskia at gcc dot gnu dot org
@ 2004-09-29 15:48 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-29 15:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-29 15:48 -------
*** Bug 17727 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |valera dot veryazov at
| |teokem dot lu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-09-29 15:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-17 22:41 [Bug fortran/17541] New: data statements with double precision constants fail rkoenker at uiuc dot edu
2004-09-18 0:10 ` [Bug fortran/17541] " pinskia at gcc dot gnu dot org
2004-09-18 12:01 ` [Bug fortran/17541] [g77] " toon at moene dot indiv dot nluug dot nl
2004-09-19 6:11 ` bdavis at gcc dot gnu dot org
2004-09-19 14:11 ` bdavis at gcc dot gnu dot org
2004-09-21 12:54 ` cvs-commit at gcc dot gnu dot org
2004-09-21 12:57 ` [Bug fortran/17541] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-09-22 21:22 ` pinskia at gcc dot gnu dot org
2004-09-29 15:48 ` 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).