------- Comment #2 from d at domob dot eu 2008-05-20 07:33 ------- Created an attachment (id=15655) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15655&action=view) Hackish patch
It seems the problem lies in gfc_conv_string_length, that can be called with a gfc_charlen whose length is NULL. This patch is somewhat a prove of concept of this, just creating a dummy length if it is NULL there; this prevents the ICEs described above. Of course this is surely not the correct place to do this initialization, I'll try to find it out later and work out a real patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35846