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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <[email protected]>:

https://gcc.gnu.org/g:9f0f81c5150284374adbb0c738cff4840c9921db

commit r16-7170-g9f0f81c5150284374adbb0c738cff4840c9921db
Author: Iain Buclaw <[email protected]>
Date:   Fri Jan 30 08:14:34 2026 +0100

    d: Fix ICE in dwarf2out_abstract_function, at dwarf2out.cc:23771 [PR123263]

    Emit artificial functions as being part of the module context, so that
    they are unaffected by dwarf early_finish pass removing the parent type
    that they were generated for.

            PR d/123263

    gcc/d/ChangeLog:

            * d-codegen.cc (d_decl_context): Set DECL_CONTEXT of compiler
            generated functions to that of parent module.

    gcc/testsuite/ChangeLog:

            * gdc.dg/debug/pr123263.d: New test.
  • [Bug d/123263] d: ICE in dwarf2... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to