public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18711] New: Internal Compiler Error while using derived data type's
@ 2004-11-29 3:49 strdleighton at comcast dot net
2004-11-29 3:54 ` [Bug fortran/18711] " pinskia at gcc dot gnu dot org
2004-12-01 0:42 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: strdleighton at comcast dot net @ 2004-11-29 3:49 UTC (permalink / raw)
To: gcc-bugs
The following code fails to compile when derived data types with two-dim arrays are used.
The error message is:
Richard-Leightons-Computer:/volumes/data/wave3d/gcc_test Richard$ gfortran -v bug_test.f -o
bug_test
Driving: gfortran -v bug_test.f -o bug_test -lgfortranbegin -lgfortran
Reading specs from /usr/local/lib/gcc/powerpc-apple-darwin7.5.0/4.0.0/specs
Configured with: ../gcc/configure --enable-threads=posix --enable-languages=f95 --enable-
static --disable-shared
Thread model: posix
gcc version 4.0.0 20041009 (experimental)
/usr/local/libexec/gcc/powerpc-apple-darwin7.5.0/4.0.0/f951 bug_test.f -ffixed-form -fPIC -
quiet -dumpbase bug_test.f -auxbase bug_test -version -o /var/tmp//ccdrmwK5.s
GNU F95 version 4.0.0 20041009 (experimental) (powerpc-apple-darwin7.5.0)
compiled by GNU C version 4.0.0 20041009 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
bug_test.f: In function 'MAIN__':
bug_test.f:30: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The source is:
!
! -------------------------------------------------------------
!
program bug_test
!
implicit none
!
! -- 1-d derived data
!
type data_1
real*8, dimension(10) :: xn
end type data_1
!
! -- 2-d derived data
!
type data_2
real*8, dimension(10,2) :: yn
end type data_2
type(data_1) data_1d
type(data_2) data_2d
!
! -- compiles ok with 1-d derived data type
!
read(40) data_1d
!
! -- compile fails when following is uncommented
!
read(40) data_2d
!
! --
!
stop
end
!
! -------------------------------------------------------------------
!
--
Summary: Internal Compiler Error while using derived data type's
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: strdleighton at comcast dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18711
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/18711] Internal Compiler Error while using derived data type's
2004-11-29 3:49 [Bug fortran/18711] New: Internal Compiler Error while using derived data type's strdleighton at comcast dot net
@ 2004-11-29 3:54 ` pinskia at gcc dot gnu dot org
2004-12-01 0:42 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 3:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-29 03:54 -------
Fixed already in a new version:
GNU F95 version 4.0.0 20041128 (experimental) (powerpc-apple-darwin7.6.0)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18711
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/18711] Internal Compiler Error while using derived data type's
2004-11-29 3:49 [Bug fortran/18711] New: Internal Compiler Error while using derived data type's strdleighton at comcast dot net
2004-11-29 3:54 ` [Bug fortran/18711] " pinskia at gcc dot gnu dot org
@ 2004-12-01 0:42 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01 0:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18711
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-01 0:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-29 3:49 [Bug fortran/18711] New: Internal Compiler Error while using derived data type's strdleighton at comcast dot net
2004-11-29 3:54 ` [Bug fortran/18711] " pinskia at gcc dot gnu dot org
2004-12-01 0:42 ` 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).