https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807
--- Comment #4 from vehre at gcc dot gnu.org --- Author: vehre Date: Fri Jul 15 09:28:47 2016 New Revision: 238368 URL: https://gcc.gnu.org/viewcvs?rev=238368&root=gcc&view=rev Log: gcc/fortran/ChangeLog: 2016-07-15 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/71807 * trans-expr.c (gfc_trans_subcomponent_assign): Special casing when allocatable component is set to null() in initializer. gcc/testsuite/ChangeLog: 2016-07-15 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/71807 * gfortran.dg/null_9.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/null_9.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog