This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/85851] [8/9 Regression] ICE in gfc_conv_structure Segmentation fault at trans-expr.c:7810


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

--- Comment #5 from Fritz Reese <foreese at gcc dot gnu.org> ---
Author: foreese
Date: Mon Jun 25 19:07:03 2018
New Revision: 262106

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

2018-06-25  Fritz Reese  <fritzoreese@gmail.com>

        PR fortran/82972
        PR fortran/83088
        PR fortran/85851
        Backport from trunk.
        * expr.c (component_initializer): Assign init expr to c->initializer.
        (generate_isocbinding_initializer): New.
        (gfc_generate_initializer): Call generate_isocbinding_initializer to
        generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  <fritzoreese@gmail.com>

        PR fortran/82972
        PR fortran/83088
        PR fortran/85851
        Backport from trunk.
        * gfortran.dg/init_flag_17.f90: New testcase.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
      - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
    branches/gcc-7-branch/   (props changed)
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/expr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-7-branch/
            ('svn:mergeinfo' modified)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]