[Bug fortran/20387] ICE in gfc_conv_array_initializer

2005-09-17 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-18 
05:53 ---
Fixed in 4.1.0.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20387


[Bug fortran/20387] ICE in gfc_conv_array_initializer

2005-03-08 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-08 
19:49 ---
Confirmed, reduced testcase which shows where the problem is (one less 
initializer and it will work):
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


-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords||ice-on-valid-code
   Last reconfirmed|-00-00 00:00:00 |2005-03-08 19:49:03
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20387


[Bug fortran/20387] ICE in gfc_conv_array_initializer

2005-03-08 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-08 
20:11 ---
Looks like we don't handle EXPR_ARRAY in gfc_conv_array_initializer, if we have 
100 or less we get 
EXPR_CONSTANT.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20387