------- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-12-22 05:18 ------- The test case passes at r142147 and fails at r142148
The patch to pr34820 caused this regression PR fortran/34820 * trans-expr.c (gfc_conv_function_call): Remove all code to deallocate intent out derived types with allocatable components. (gfc_trans_assignment_1): An assignment from a scalar to an array of derived types with allocatable components, requires a deep copy to each array element and deallocation of the converted rhs expression afterwards. * trans-array.c : Minor whitespace. * trans-decl.c (init_intent_out_dt): Add code to deallocate allocatable components of derived types with intent out. (generate_local_decl): If these types are unused, set them referenced anyway but allow the uninitialized warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38602