------- Comment #3 from pault at gcc dot gnu dot org 2007-08-14 16:36 ------- This fixes it but there are one or two regressions that I need to investigate.
Paul Index: gcc/fortran/trans-array.c =================================================================== *** gcc/fortran/trans-array.c (revision 127396) --- gcc/fortran/trans-array.c (working copy) *************** get_array_ctor_strlen (stmtblock_t *bloc *** 1421,1426 **** --- 1421,1433 ---- bool is_const; is_const = TRUE; + + if (c == NULL) + { + *len = build_int_cstu (gfc_charlen_type_node, 0); + return is_const; + } + for (; c; c = c->next) { switch (c->expr->expr_type) -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2007-08-14 09:04:21 |2007-08-14 16:36:40 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32875