This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19282] [4.0 only] ICE in gfc_conv_array_initializer
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2005 15:44:05 -0000
- Subject: [Bug fortran/19282] [4.0 only] ICE in gfc_conv_array_initializer
- References: <20050105220423.19282.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-09-18 15:44 -------
Not fixed in 4.0:
$ cat > pr19282.f90
IMPLICIT NONE
INTEGER,PARAMETER ::count=10
CHARACTER,PARAMETER::digits*(count+1) = '01234567890'
INTEGER i
CHARACTER,PARAMETER:: chardummy(0:count)*2 = &
(/ (digits(i/10+1:i/10+1)//digits(i+1:i+1),i=0,count) /)
write(*,*) (' ',chardummy(i),i=0,count)
END
$ gfortran pr19282.f90
pr19282.f90:0: internal compiler error: in gfc_set_constant_character_len, at
fortran/decl.c:664
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0/configure --prefix=/home/ig25
--enable-languages=c,fortran
Thread model: posix
gcc version 4.0.2 20050917 (prerelease)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Known to fail| |4.0.2
Known to work| |4.1.0
Resolution|FIXED |
Summary|ICE in |[4.0 only] ICE in
|gfc_conv_array_initializer |gfc_conv_array_initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19282