------- Additional Comments From tkoenig at gcc dot gnu dot org  2005-09-18 
15:51 -------
Still doesn't work in 4.0:

$ cat > pr20387.f90
module bug04
  integer, dimension(101), parameter, private :: a = (/ &
        2,    3,    5,    7,   11,   13,   17,   19,   23,   29, &
       31,   37,   41,   43,   47,   53,   59,   61,   67,   71, &
       73,   79,   83,   89,   97,  101,  103,  107,  109,  113, &
      127,  131,  137,  139,  149,  151,  157,  163,  167,  173, &
      179,  181,  191,  193,  197,  199,  211,  223,  227,  229, &
      233,  239,  241,  251,  257,  263,  269,  271,  277,  281, &
      283,  293,  307,  311,  313,  317,  331,  337,  347,  349, &
      353,  359,  367,  373,  379,  383,  389,  397,  401,  409, &
      419,  421,  431,  433,  439,  443,  449,  457,  461,  463, &
      467,  479,  487,  491,  499,  503,  509,  521,  523,  541, &
      547 /)
  integer, dimension(101), public :: b=(/ a /)
contains
end module bug04
$ gfortran pr20387.f90
pr20387.f90:0: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:2910
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=20387

Reply via email to