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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Uecker <uec...@gcc.gnu.org>:

https://gcc.gnu.org/g:f6ba433d3c30c20fadd393eed31617a4da81789c

commit r14-8666-gf6ba433d3c30c20fadd393eed31617a4da81789c
Author: Martin Uecker <uec...@tugraz.at>
Date:   Tue Jan 23 13:33:34 2024 +0100

    Fix ICE with -g and -std=c23 when forming composite types [PR113438]

    Set TYPE_STUB_DECL to an artificial decl when creating a new structure
    as a composite type.

            PR c/113438

    gcc/c/
            * c-typeck.cc (composite_type_internal): Set TYPE_STUB_DECL.

    gcc/testsuite/
            * gcc.dg/pr113438.c: New test.

Reply via email to