public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/36546] New: Namelist error with tab following a comma and newline
@ 2008-06-16 4:21 jvdelisle at gcc dot gnu dot org
2008-06-16 4:22 ` [Bug libfortran/36546] " jvdelisle at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-06-16 4:21 UTC (permalink / raw)
To: gcc-bugs
Yet another namelist bug. A little different. Tabs in the namelist file.
cat check1.f
program check1
real a,b,c
namelist/CASEDAT/A,B,C
read(1,casedat)
print*,'a=',a
print*,'b=',b
print*,'c=',c
end
cat fort.1
&CASEDAT
A = 1.0, B = 2.0,
C = 3.0,
/
--
Summary: Namelist error with tab following a comma and newline
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jvdelisle at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
@ 2008-06-16 4:22 ` jvdelisle at gcc dot gnu dot org
2008-06-16 4:41 ` jvdelisle at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-06-16 4:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-06-16 04:21 -------
I am working this.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-06-16 04:21:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
2008-06-16 4:22 ` [Bug libfortran/36546] " jvdelisle at gcc dot gnu dot org
@ 2008-06-16 4:41 ` jvdelisle at gcc dot gnu dot org
2008-06-17 4:15 ` jvdelisle at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-06-16 4:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-06-16 04:40 -------
Proposed patch, fixes the test case. Testing still.
Index: list_read.c
===================================================================
--- list_read.c (revision 136821)
+++ list_read.c (working copy)
@@ -366,7 +366,7 @@ eat_separator (st_parameter_dt *dtp)
}
}
}
- while (c == '\n' || c == '\r' || c == ' ');
+ while (c == '\n' || c == '\r' || c == ' ' || c == '\t');
unget_char (dtp, c);
}
break;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
2008-06-16 4:22 ` [Bug libfortran/36546] " jvdelisle at gcc dot gnu dot org
2008-06-16 4:41 ` jvdelisle at gcc dot gnu dot org
@ 2008-06-17 4:15 ` jvdelisle at gcc dot gnu dot org
2008-06-17 4:19 ` jvdelisle at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-06-17 4:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-06-17 04:14 -------
Subject: Bug 36546
Author: jvdelisle
Date: Tue Jun 17 04:14:07 2008
New Revision: 136859
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136859
Log:
2008-06-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/36546
* io/list_read.c (eat_separator): Add tab character to condition
for looping past whitespace.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-06-17 4:15 ` jvdelisle at gcc dot gnu dot org
@ 2008-06-17 4:19 ` jvdelisle at gcc dot gnu dot org
2008-06-17 4:33 ` jvdelisle at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-06-17 4:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-06-17 04:18 -------
Subject: Bug 36546
Author: jvdelisle
Date: Tue Jun 17 04:18:11 2008
New Revision: 136860
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136860
Log:
2008-06-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/36546
* gfortran.dg: namelist_49.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/namelist_49.f90
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-06-17 4:19 ` jvdelisle at gcc dot gnu dot org
@ 2008-06-17 4:33 ` jvdelisle at gcc dot gnu dot org
2008-07-02 4:45 ` jvdelisle at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-06-17 4:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-06-17 04:32 -------
I will backport this to 4.3 in a few days.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-06-17 4:33 ` jvdelisle at gcc dot gnu dot org
@ 2008-07-02 4:45 ` jvdelisle at gcc dot gnu dot org
2008-07-02 4:54 ` jvdelisle at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-07-02 4:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-07-02 04:45 -------
Subject: Bug 36546
Author: jvdelisle
Date: Wed Jul 2 04:44:21 2008
New Revision: 137336
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137336
Log:
2008-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org
PR fortran/36676
PR fortran/36657
PR fortran/36546
Backport from trunk.
* io/list_read.c (find_nml_name): Use unget_char before eat_separator.
(read_character): Check for '!' along with separators.
(eat_separator): Add tab character to condition for looping past
whitespace.
Modified:
branches/gcc-4_3-branch/libgfortran/ChangeLog
branches/gcc-4_3-branch/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-07-02 4:45 ` jvdelisle at gcc dot gnu dot org
@ 2008-07-02 4:54 ` jvdelisle at gcc dot gnu dot org
2008-07-02 5:21 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-07-02 4:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-07-02 04:53 -------
Subject: Bug 36546
Author: jvdelisle
Date: Wed Jul 2 04:52:47 2008
New Revision: 137337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137337
Log:
2008-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org
PR fortran/36676
PR fortran/36657
PR fortran/36546
PR fortran/36538
* gfortran.dg/namelist_50.f90
* gfortran.dg/namelist_51.f90
* gfortran.dg/namelist_48.f90
* gfortran.dg/namelist_49.f90
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/namelist_48.f90
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/namelist_49.f90
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/namelist_50.f90
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/namelist_51.f90
Modified:
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-07-02 4:54 ` jvdelisle at gcc dot gnu dot org
@ 2008-07-02 5:21 ` jvdelisle at gcc dot gnu dot org
2008-07-16 14:25 ` cnstar9988 at gmail dot com
2008-07-16 14:34 ` aldot at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-07-02 5:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-07-02 05:20 -------
Fixed on trunk and 4.3
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-07-02 5:21 ` jvdelisle at gcc dot gnu dot org
@ 2008-07-16 14:25 ` cnstar9988 at gmail dot com
2008-07-16 14:34 ` aldot at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-07-16 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from cnstar9988 at gmail dot com 2008-07-16 14:24 -------
Target Milestone is 4.3.3?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/36546] Namelist error with tab following a comma and newline
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
` (8 preceding siblings ...)
2008-07-16 14:25 ` cnstar9988 at gmail dot com
@ 2008-07-16 14:34 ` aldot at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: aldot at gcc dot gnu dot org @ 2008-07-16 14:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from aldot at gcc dot gnu dot org 2008-07-16 14:33 -------
Will be in the next 4.3.x release which will be 4.3.2, from the looks.
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.3 |4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-07-16 14:34 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-16 4:21 [Bug libfortran/36546] New: Namelist error with tab following a comma and newline jvdelisle at gcc dot gnu dot org
2008-06-16 4:22 ` [Bug libfortran/36546] " jvdelisle at gcc dot gnu dot org
2008-06-16 4:41 ` jvdelisle at gcc dot gnu dot org
2008-06-17 4:15 ` jvdelisle at gcc dot gnu dot org
2008-06-17 4:19 ` jvdelisle at gcc dot gnu dot org
2008-06-17 4:33 ` jvdelisle at gcc dot gnu dot org
2008-07-02 4:45 ` jvdelisle at gcc dot gnu dot org
2008-07-02 4:54 ` jvdelisle at gcc dot gnu dot org
2008-07-02 5:21 ` jvdelisle at gcc dot gnu dot org
2008-07-16 14:25 ` cnstar9988 at gmail dot com
2008-07-16 14:34 ` aldot 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).