[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

vehre at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 22 15:21:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

--- Comment #7 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Fri Jul 22 15:21:10 2016
New Revision: 238650

URL: https://gcc.gnu.org/viewcvs?rev=238650&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-07-22  Andre Vehreschild  <vehre@gcc.gnu.org>

        Backported from trunk:
        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-22  Andre Vehreschild  <vehre@gcc.gnu.org>

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



Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/null_9.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/trans-expr.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list