internal compiler error: in gfc_assign_data_value_range, at fortran/data.c:538

Dominique Dhumieres dominiq@lps.ens.fr
Fri Sep 21 15:24:00 GMT 2007


The following program

       real            :: a(5,5)
       data a/25*1.0/
       data a(1,1), a(3,1), a(1,2), a(3,3) /2*1.0, 2*2.0/
       data a(2:5,4) /4*1.0/
       end

gives an ICE with revision 128649:

data_1.f90:0: internal compiler error: in gfc_assign_data_value_range, at fortran/data.c:538

If I comment the line "data a/25*1.0/" the ICE disappears.  I thought that this
kind of "re-initialization" has been fixed some time ago.

Does anyone remember the PR(s) dealing with "re-initialization"?
If yes, should I reopen it (them) or fill a new PR?

TIA

Dominique

PS I cannot say if it is a regression or not (was there in 4.3.0 20070720),
it is in gcc version 4.2.1 and the file has last been changed on
Sep  1  2006.



More information about the Fortran mailing list