gcc/fortran/ChangeLog: 2016-06-28 Andre Vehreschild PR fortran/71623 * trans-stmt.c (gfc_trans_allocate): Add code of pre block of typespec in allocate to parent block. gcc/testsuite/ChangeLog: 2016-06-28 Andre Vehreschild PR fortran/71623 * gfortran.dg/deferred_character_17.f90: New test.