This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/19282] New: ICE in gfc_conv_array_initializer


>From comp.lang.fortran, by harper@mcs.vuw.ac.nz (John Harper).

$ cat char-digits.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 char-digits.f90
char-digits.f90: In function 'MAIN__':
char-digits.f90:7: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:2938
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.
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050103 (experimental)
$ gfortran -dumpmachine
i686-pc-linux-gnu

-- 
           Summary: ICE in gfc_conv_array_initializer
           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=19282


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]