public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE
@ 2003-12-03 8:48 steven at gcc dot gnu dot org
2003-12-05 23:15 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-03 8:48 UTC (permalink / raw)
To: gcc-bugs
This causes an ICE:
---------------------------
module foo
type coords
real :: x,y,z
end type coords
type (coords) point
end module foo
program bar
use foo
namelist /nml/ point
read (5,nml=nml)
end program bar
---------------------------
t.f90: In function `MAIN__':
t.f90:11: internal compiler error: Bad namelist IO basetype (7)
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [gfortan] derived type I/O support missing, causes ICE
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] [gfortan] derived type I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
@ 2003-12-05 23:15 ` pinskia at gcc dot gnu dot org
2003-12-28 3:02 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-05 23:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-05 23:15 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-12-05 23:15:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] [gfortan] derived type I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
2003-12-05 23:15 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
@ 2003-12-28 3:02 ` pinskia at gcc dot gnu dot org
2004-01-20 15:17 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-28 3:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] [gfortan] derived type I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
2003-12-05 23:15 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
2003-12-28 3:02 ` pinskia at gcc dot gnu dot org
@ 2004-01-20 15:17 ` pinskia at gcc dot gnu dot org
2004-05-18 13:41 ` [Bug fortran/13278] [gfortran] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-20 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-20 15:17 -------
*** Bug 13771 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |lei at il dot ibm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] [gfortran] derived type I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-01-20 15:17 ` pinskia at gcc dot gnu dot org
@ 2004-05-18 13:41 ` pinskia at gcc dot gnu dot org
2004-06-02 13:56 ` [Bug fortran/13278] [gfortran] derived type namelist " tobi at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-18 13:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |15502
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] [gfortran] derived type namelist I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-05-18 13:41 ` [Bug fortran/13278] [gfortran] " pinskia at gcc dot gnu dot org
@ 2004-06-02 13:56 ` tobi at gcc dot gnu dot org
2004-06-28 7:28 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-02 13:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-02 13:55 -------
Added 'namelist' to the summary.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[gfortran] derived type I/O |[gfortran] derived type
|support missing, causes ICE |namelist I/O support
| |missing, causes ICE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] derived type namelist I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-06-02 13:56 ` [Bug fortran/13278] [gfortran] derived type namelist " tobi at gcc dot gnu dot org
@ 2004-06-28 7:28 ` pinskia at gcc dot gnu dot org
2004-08-16 18:43 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 7:28 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] derived type namelist I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-06-28 7:28 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
@ 2004-08-16 18:43 ` pinskia at gcc dot gnu dot org
2004-08-18 1:20 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-16 18:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-16 18:42 -------
Just to make a note that this is what causes galgel to fail to build.
And here is the patch <http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00993.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] derived type namelist I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-08-16 18:43 ` pinskia at gcc dot gnu dot org
@ 2004-08-18 1:20 ` cvs-commit at gcc dot gnu dot org
2004-08-18 2:22 ` pinskia at gcc dot gnu dot org
2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-18 1:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-18 01:20 -------
Subject: Bug 13278
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pbrook@gcc.gnu.org 2004-08-18 01:20:06
Modified files:
gcc/fortran : ChangeLog trans-io.c
libgfortran : ChangeLog
libgfortran/io : io.h transfer.c write.c
Log message:
2004-08-18 Victor Leikehman <lei@il.ibm.com>
PR fortran/13278
* trans-io.c (transfer_namelist_element): New. Recursively handle
derived-type variables. Pass string lengths.
(build_dt): Code moved to build_namelist, with some
changes and additions.
(gfc_build_io_library_fndecls): Declare the fifth
argument in st_set_nml_var_char -- string_length.
libgfortran/
* io/transfer.c (st_set_nml_var)
* io/write.c (namelist_write): Allow var_name and var_name_len to be
null. For strings, use string_length field instead of len.
* io/io.h (struct namelist_type): New field string_length.
(st_set_nml_var_char): New argument string_length.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.152&r2=1.153
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-io.c.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.61&r2=1.62
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/io.h.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/transfer.c.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/write.c.diff?cvsroot=gcc&r1=1.9&r2=1.10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] derived type namelist I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-08-18 1:20 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-18 2:22 ` pinskia at gcc dot gnu dot org
2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-18 2:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-18 02:22 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13278] derived type namelist I/O support missing, causes ICE
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-08-18 2:22 ` pinskia at gcc dot gnu dot org
@ 2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25 16:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13278
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-08-25 16:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03 8:48 [Bug fortran/13278] New: [gfortan] derived type I/O support missing, causes ICE steven at gcc dot gnu dot org
2003-12-05 23:15 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
2003-12-28 3:02 ` pinskia at gcc dot gnu dot org
2004-01-20 15:17 ` pinskia at gcc dot gnu dot org
2004-05-18 13:41 ` [Bug fortran/13278] [gfortran] " pinskia at gcc dot gnu dot org
2004-06-02 13:56 ` [Bug fortran/13278] [gfortran] derived type namelist " tobi at gcc dot gnu dot org
2004-06-28 7:28 ` [Bug fortran/13278] " pinskia at gcc dot gnu dot org
2004-08-16 18:43 ` pinskia at gcc dot gnu dot org
2004-08-18 1:20 ` cvs-commit at gcc dot gnu dot org
2004-08-18 2:22 ` pinskia at gcc dot gnu dot org
2004-08-25 16:59 ` 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).