http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57965
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |burnus at gcc dot gnu.org Depends on| |57959 Known to fail| |4.5.3, 4.8.1, 4.9.0 --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Instead of nullifying (internally) the "str_value", the compiler tries to set the unallocated string to the value 0 followed by space padding. The call path is: gfc_trans_structure_assign -> gfc_trans_subcomponent_assign -> gfc_trans_scalar_assign -> gfc_trans_string_copy. I think the issue is effectively the same as PR57959