re PR fortran/71807 (Internal compiler error with NULL() reference in structure const...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 15 Jul 2016 09:28:47 +0000 (11:28 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 15 Jul 2016 09:28:47 +0000 (11:28 +0200)
commit29eb509ccb9acd5aac604e6796e376bc09c4626d
treecb05c4e1d65c3529218ea419f580af1e8a5238b9
parent43aabfcfd4139e4c9e7b868199e09b97e66010bc
re PR fortran/71807 (Internal compiler error with NULL() reference in structure constructor)

gcc/fortran/ChangeLog:

2016-07-15  Andre Vehreschild  <vehre@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  <vehre@gcc.gnu.org>

PR fortran/71807
* gfortran.dg/null_9.f90: New test.

From-SVN: r238368
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/null_9.f90 [new file with mode: 0644]