https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113917
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- Bit more detail from valgrind: ==1450005== Invalid read of size 2 ==1450005== at 0x86B811: gfc_class_vptr_get(tree_node*) (trans-expr.cc:247) ==1450005== by 0x883366: trans_class_vptr_len_assignment(stmtblock_t*, gfc_expr*, gfc_expr*, gfc_se*, tree_node**, tree_node**, tree_node**) (trans-expr.cc:10146) ==1450005== by 0x8863A2: trans_class_assignment (trans-expr.cc:11969) ==1450005== by 0x8863A2: gfc_trans_assignment_1(gfc_expr*, gfc_expr*, bool, bool, bool, bool) (trans-expr.cc:12435)