array_constructor_17.f90
951 Bytes
-
re PR fortran/31219 (ICE on array of character function results) · 0ee8e250
2007-05-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/31219 * trans.h : Add no_function_call bitfield to gfc_se structure. Add stmtblock_t argument to prototype of get_array_ctor_strlen. * trans-array.c (get_array_ctor_all_strlen): New function. (get_array_ctor_strlen): Add new stmtblock_t argument and call new function for character elements that are not constants, arrays or variables. (gfc_conv_array_parameter): Call get_array_ctor_strlen to get good string length. * trans-intrinsic (gfc_conv_intrinsic_len): Add new argument to call of get_array_ctor_strlen. 2007-05-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/31219 * gfortran.dg/array_constructor_17.f90: New test. From-SVN: r125088
Paul Thomas committed