public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15370] New: [gfortran] trans-array.c:2882: gfc_trans_auto_array_allocation: Assertion `!((decl)->common.static_flag)' failed.
@ 2004-05-11 20:20 jblomqvi at cc dot hut dot fi
2004-05-11 20:26 ` [Bug fortran/15370] " pinskia at gcc dot gnu dot org
2004-05-12 23:19 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: jblomqvi at cc dot hut dot fi @ 2004-05-11 20:20 UTC (permalink / raw)
To: gcc-bugs
~% gfortran -v
Reading specs from /tmp/gcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs
Configured with: ../gcc/configure --disable-checking --prefix=/tmp/gcc-ssa
--enable-languages=f95 --with-gmp=/usr
Thread model: posix
gcc version 3.5-tree-ssa 20040505 (merged 20040428)
~% gfortran crash2.f95
f951: ../../gcc/gcc/fortran/trans-array.c:2882: gfc_trans_auto_array_allocation:
Assertion `!((decl)->common.static_flag)' failed.
crash2.f95: In function `crasher':
crash2.f95:8: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Source code for crash2.f95:
module crash
implicit none
integer :: N
contains
subroutine crasher()
implicit none
real :: threshold(N,N) = 1.0 ! This causes an ICE
threshold = 1.0
end subroutine crasher
end module crash
Note that this is not valid code, e.g. ifort complains that:
fortcom: Error: crash2.f90, line 8: A data initialization-expr is not valid for
this object. [THRESHOLD]
real :: threshold(N,N) = 1.0
............^
compilation aborted for crash2.f90 (code 1)
--
Summary: [gfortran] trans-array.c:2882:
gfc_trans_auto_array_allocation: Assertion `!((decl)-
>common.static_flag)' failed.
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jblomqvi at cc dot hut dot fi
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15370
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/15370] [gfortran] trans-array.c:2882: gfc_trans_auto_array_allocation: Assertion `!((decl)->common.static_flag)' failed.
2004-05-11 20:20 [Bug fortran/15370] New: [gfortran] trans-array.c:2882: gfc_trans_auto_array_allocation: Assertion `!((decl)->common.static_flag)' failed jblomqvi at cc dot hut dot fi
@ 2004-05-11 20:26 ` pinskia at gcc dot gnu dot org
2004-05-12 23:19 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-11 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-10 21:39 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-05-10 21:39:17
date| |
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15370
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/15370] [gfortran] trans-array.c:2882: gfc_trans_auto_array_allocation: Assertion `!((decl)->common.static_flag)' failed.
2004-05-11 20:20 [Bug fortran/15370] New: [gfortran] trans-array.c:2882: gfc_trans_auto_array_allocation: Assertion `!((decl)->common.static_flag)' failed jblomqvi at cc dot hut dot fi
2004-05-11 20:26 ` [Bug fortran/15370] " pinskia at gcc dot gnu dot org
@ 2004-05-12 23:19 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-12 23:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-12 11:57 -------
This is a dup of bug 15393 which has a littler testcase.
*** This bug has been marked as a duplicate of 15393 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15370
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-12 11:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-11 20:20 [Bug fortran/15370] New: [gfortran] trans-array.c:2882: gfc_trans_auto_array_allocation: Assertion `!((decl)->common.static_flag)' failed jblomqvi at cc dot hut dot fi
2004-05-11 20:26 ` [Bug fortran/15370] " pinskia at gcc dot gnu dot org
2004-05-12 23:19 ` 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).