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

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

https://gcc.gnu.org/g:4edd2957ad32c4dabb05dbd175ff2067d0bfe072

commit r16-7940-g4edd2957ad32c4dabb05dbd175ff2067d0bfe072
Author: Martin Uecker <[email protected]>
Date:   Thu Feb 19 18:20:01 2026 +0100

    c: Fix ICE related to tags and hardbool attribute [PR123856]

    The hardbool attribute creates special enumeration types,
    but the tag is not set correctly, which causes broken diagnostics
    and an ICE with the new helper function to get the tag.

            PR c/123856

    gcc/c-family/ChangeLog:
            * c-attribs.cc (handle_hardbool_attribute): Fix TYPE_NAME.

    gcc/testsuite/ChangeLog:
            * gcc.dg/pr123856.c: New test.

Reply via email to