This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33986] ICE on allocatable function result
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2007 23:06:18 -0000
- Subject: [Bug fortran/33986] ICE on allocatable function result
- References: <bug-33986-15301@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-11-02 23:06 -------
Confirmed on x86_64-linux, with latest mainline. The reduced testcase is:
$ cat j.f90
function transform_to_spectral_from() result(spectral)
integer, allocatable :: spectral(:)
call scram(spectral)
end function transform_to_spectral_from
$ ./bin/gfortran j.f90
j.f90: In function ?transform_to_spectral_from?:
j.f90:1: internal compiler error: in gfc_conv_descriptor_data_get, at
fortran/trans-array.c:147
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
Severity|critical |normal
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i386-apple-darwin8.10.1 |
GCC host triplet|i386-apple-darwin8.10.1 |
GCC target triplet|i386-apple-darwin8.10.1 |
Keywords| |ice-on-valid-code
Known to fail| |4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-11-02 23:06:18
date| |
Summary|internal compiler error on |ICE on allocatable function
|integer assignment |result
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33986