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

--- Comment #4 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Sun Jun 16 07:49:06 2019
New Revision: 272345

URL: https://gcc.gnu.org/viewcvs?rev=272345&root=gcc&view=rev
Log:
        PR d/90651
d/dmd: Merge upstream dmd 0f6cbbcad

Fixes segmentation fault in FuncDeclaration::semantic3.

Reviewed-on: https://github.com/dlang/dmd/pull/10003

gcc/d/ChangeLog:

2019-06-16  Iain Buclaw  <ibuc...@gdcproject.org>

        * typeinfo.cc (object_module): New variable.
        (make_frontend_typeinfo): Update signature.  Set temporary on
        generated TypeInfo classes.
        (create_tinfo_types): Set object_module.  Move generation of front-end
        typeinfo into ...
        (create_frontend_tinfo_types): ... New function.
        (layout_typeinfo): Call create_frontend_tinfo_types.
        (layout_classinfo): Likewise.
        (layout_cpp_typeinfo): Likewise.
        (create_typeinfo): Likewise.

Added:
    trunk/gcc/testsuite/gdc.test/fail_compilation/extra-files/minimal/
    trunk/gcc/testsuite/gdc.test/fail_compilation/extra-files/minimal/object.d
    trunk/gcc/testsuite/gdc.test/fail_compilation/fail19911a.d
    trunk/gcc/testsuite/gdc.test/fail_compilation/fail19911b.d
    trunk/gcc/testsuite/gdc.test/fail_compilation/fail19911c.d
    trunk/gcc/testsuite/gdc.test/fail_compilation/fail19922.d
    trunk/gcc/testsuite/gdc.test/fail_compilation/fail19923.d
Modified:
    trunk/gcc/d/ChangeLog
    trunk/gcc/d/dmd/MERGE
    trunk/gcc/d/dmd/expressionsem.c
    trunk/gcc/d/dmd/func.c
    trunk/gcc/d/dmd/mtype.c
    trunk/gcc/d/typeinfo.cc

Reply via email to