------- Comment #5 from paul dot thomas at jet dot uk 2006-04-24 09:10 ------- (In reply to comment #4) > This looks to be fixable at trans-intrinsic.c(gfc_conv_intrinsic_len), here a > special switch branch for constructors is needed. > I will make it so. > Paul
This is indeed the case; the ICE comes about because none of the trappings of the scalarizer have been invoked to translate the array constructor. Rather than do this, I have called trans-array.c (get_array_ctor_strlen) to obtain the string length directly. This clears the bug; I will regtest tonight and will submit tomorrow. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24813