A bit like PR 12366, but with a different error location. $ gfortran char-array.f90 char-array.f90: In function 'MAIN__': char-array.f90:3: internal compiler error: in gfc_conv_ss_descriptor, at fortran/trans-array.c:1263 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. $ cat char-array.f90 program main integer, dimension(256) :: f f = 0 f(ichar((/ 'a', 'f', 'h', 'g', 'q' /))) = 34 print '(12I5)',f end program main
$ gfortran -v Reading specs from /home/zfkts/lib/gcc/ia64-unknown-linux-gnu/4.0.0/specs Configured with: ../gcc-4.0-20041205/configure --prefix=/home/zfkts --enable-languages=c,c++,f95 --disable-shared Thread model: posix gcc version 4.0.0 20041205 (experimental) -- Summary: ICE in gfc_conv_ss_descriptor Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Thomas dot Koenig at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18955