--- Comment #35 from jvdelisle at gcc dot gnu dot org 2008-10-29 04:48
---
Subject: Bug 37707
Author: jvdelisle
Date: Wed Oct 29 04:47:20 2008
New Revision: 141421
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141421
Log:
2008-10-28 Jerry DeLisle <[EMAIL PROTECTED]
--- Comment #34 from jvdelisle at gcc dot gnu dot org 2008-10-29 04:47
---
Fixed on 4.3, closing
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #33 from jvdelisle at gcc dot gnu dot org 2008-10-29 04:45
---
Subject: Bug 37707
Author: jvdelisle
Date: Wed Oct 29 04:44:15 2008
New Revision: 141420
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141420
Log:
2008-10-28 Jerry DeLisle <[EMAIL PROTECTED]>
--- Comment #32 from burnus at gcc dot gnu dot org 2008-10-23 06:18 ---
(In reply to comment #31)
> Fixed on trunk, backport to 4.3?
I think it is simple enough to be OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
--- Comment #31 from jvdelisle at gcc dot gnu dot org 2008-10-23 02:50
---
Fixed on trunk, backport to 4.3?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
--- Comment #30 from jvdelisle at gcc dot gnu dot org 2008-10-23 02:43
---
Subject: Bug 37707
Author: jvdelisle
Date: Thu Oct 23 02:42:36 2008
New Revision: 141318
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141318
Log:
2008-10-22 Jerry DeLisle <[EMAIL PROTECTED]>
--- Comment #29 from jvdelisle at gcc dot gnu dot org 2008-10-23 02:32
---
Subject: Bug 37707
Author: jvdelisle
Date: Thu Oct 23 02:31:00 2008
New Revision: 141317
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141317
Log:
2008-10-22 Jerry DeLisle <[EMAIL PROTECTED]
--- Comment #28 from toon at moene dot indiv dot nluug dot nl 2008-10-22
08:28 ---
Jerry, do you think your patch can be applied and this bug closed ?
As I wrote, it fixed the original problem from which I constructed the two test
cases.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi
--- Comment #27 from jvdelisle at gcc dot gnu dot org 2008-10-19 18:16
---
The namelist_18.f90 test change is because we are now defaulting to a quote
delimiter. We do not write a namelist without character string delimiters.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
--- Comment #26 from toon at moene dot indiv dot nluug dot nl 2008-10-19
16:11 ---
The patch works for my case,
Please be careful with the namelist_18,f90 test case - I can't off-hand say
whether it's right or (an extension).
Cheers,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id
--- Comment #25 from jvdelisle at gcc dot gnu dot org 2008-10-19 15:39
---
(In reply to comment #22)
default:
- dtp->u.p.nml_delim = '\0';
+ dtp->u.p.nml_delim = '"';
wouldn't it be easier/faster to simply remove the whole switch and use simply
dtp->u.p.nml_delim = '"'
--- Comment #24 from jvdelisle at gcc dot gnu dot org 2008-10-19 15:31
---
Subject: Bug 37707
Author: jvdelisle
Date: Sun Oct 19 15:30:32 2008
New Revision: 141228
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141228
Log:
2008-10-19 Jerry DeLisle <[EMAIL PROTECTED]
--- Comment #23 from jvdelisle at gcc dot gnu dot org 2008-10-19 15:29
---
Subject: Bug 37707
Author: jvdelisle
Date: Sun Oct 19 15:28:25 2008
New Revision: 141227
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141227
Log:
2008-10-19 Jerry DeLisle <[EMAIL PROTECTED]
--- Comment #22 from burnus at gcc dot gnu dot org 2008-10-19 09:44 ---
(In reply to comment #19)
> > Warning: CHARACTER expression at (1) is being truncated (222/200)
> Tobias, you are right - the string is too short - 250 characters should do,
> however, and I get the same error.
> How
--- Comment #21 from jvdelisle at gcc dot gnu dot org 2008-10-18 21:48
---
Created an attachment (id=16515)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16515&action=view)
Proposed patch for this second test case.
Toon and Tobias: Please try this attached patch. This fixes act
--- Comment #20 from jvdelisle at gcc dot gnu dot org 2008-10-18 17:46
---
There are a few problems going on here. When writing a namelist with no delim=
specified, we should default to a quote. That is trivial. Then, we also need
to enable finding a namelist object name vs a characte
--- Comment #19 from toon at moene dot indiv dot nluug dot nl 2008-10-18
15:33 ---
> character*200 :: l = " &NAMINTERP atmkey%ppp = 076,058,062,079, atmkey%nnn = 0
1
> Warning: CHARACTER expression at (1) is being truncated (222/200)
Tobias, you are right - the stri
--- Comment #18 from burnus at gcc dot gnu dot org 2008-10-18 15:12 ---
I think your program is valid. For "tag = list of strings" in a namelist the
quotes are required and delim= is ignored for namelist read/write.
See:
"10.10.1.3 Namelist group object list items"
[...]
"When the next
--- Comment #17 from burnus at gcc dot gnu dot org 2008-10-18 14:53 ---
The problem seems to be that atmkey%name = reads also
OUTGEO%NLEV=10 as string.
Can you try:
open(, delim='quote')
in the real program? That unfortunately does not work for internal I/O as
delim= is not allowed i
--- Comment #16 from burnus at gcc dot gnu dot org 2008-10-18 14:33 ---
character*200 :: l = " &NAMINTERP atmkey%ppp = 076,058,062,079, atmkey%nnn = 0
1
Warning: CHARACTER expression at (1) is being truncated (222/200)
This namelist poses really a challenge:
- NAG f
--- Comment #15 from toon at moene dot indiv dot nluug dot nl 2008-10-18
08:47 ---
Sorry, source code of new example got mangled; I created an attachment
(nl4.f90)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
--- Comment #14 from toon at moene dot indiv dot nluug dot nl 2008-10-18
08:46 ---
Created an attachment (id=16514)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16514&action=view)
New Failing Example.
This a more complicated example that still fails after Jerry's fix for the
fir
--- Comment #13 from toon at moene dot indiv dot nluug dot nl 2008-10-18
08:43 ---
Unfortunately, while the original test case has been solved, the original
problem that led me to file this bug report hasn't been ...
Here's a failing example closer to the original source:
TYPE geomet
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2008-10-18 05:36
---
Ignore comment #11. I got wrong PR number in Changelog. Should have been
37863.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-10-18 05:25
---
Subject: Bug 37707
Author: jvdelisle
Date: Sat Oct 18 05:23:47 2008
New Revision: 141207
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141207
Log:
2008-10-17 Jerry DeLisle <[EMAIL PROTECTED]
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-10-10 02:14
---
This is fixed on trunk. I think I will back port this to 4.3 since the bug
does result in failing in valid namelists.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-10-10 02:11
---
Subject: Bug 37707
Author: jvdelisle
Date: Fri Oct 10 02:10:14 2008
New Revision: 141016
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141016
Log:
2008-10-08 Jerry DeLisle <[EMAIL PROTECTED]
P
--- Comment #8 from burnus at gcc dot gnu dot org 2008-10-09 13:31 ---
(In reply to comment #6)
> Tobias, should A(3)%M not be 89??
Yes. I realized too late that I pasted the output of a slightly different
program, which I used during testing. In any case today's build gives the same
ou
--- Comment #7 from dominiq at lps dot ens dot fr 2008-10-09 09:27 ---
(In reply to comment #6)
On i686-apple-darwin9 I get:
[ibook-dhum] f90/bug% gfc pr37707.f90
[ibook-dhum] f90/bug% a.out
87 88 89
97 98 99
&NAMLIS
A(1)%M=
--- Comment #6 from pault at gcc dot gnu dot org 2008-10-09 09:15 ---
(In reply to comment #1)
> &NAMLIS
> A(1)%M = 1,
> A(1)%N = 5,
> A(2)%M = 2,
> A(2)%N = 6,
> A(3)%M = 5,
> A(3)%N =
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-10-09 04:16
---
Subject: Bug 37707
Author: jvdelisle
Date: Thu Oct 9 04:14:48 2008
New Revision: 140997
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140997
Log:
2008-10-08 Jerry DeLisle <[EMAIL PROTECTED]
P
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-10-09 04:04
---
Subject: Bug 37707
Author: jvdelisle
Date: Thu Oct 9 04:02:35 2008
New Revision: 140995
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140995
Log:
2008-10-08 Jerry DeLisle <[EMAIL PROTECTED]
P
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-10-09 02:40
---
The following simple patch fixes this. I will commit under the obvious and
simple rule. (Obvious once you spend several hours studying it to see what is
going wrong!)
Index: io/list_read.c
=
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-10-02 01:46
---
I am investigating.
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
As
--- Comment #1 from burnus at gcc dot gnu dot org 2008-10-01 21:42 ---
Jerry, that sounds like something for you. I think Toon is right and ifort 10.1
prints (using a file as internal I/O does not work):
87 88 89
97 98 99
&NAMLIS
35 matches
Mail list logo