On Fri, 6 Mar 2026, Martin Uecker wrote:

> Bootstrapped and regression tested on x86_64.
> 
> 
>     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/ChangeLog:
>             * c-family/c-attribs.cc (handle_hardbool_attribute): Fix 
> TYPE_NAME.
>     
>     gcc/testsuite/ChangeLog:
>             * gcc.dg/pr123856.c: New test.

OK.

-- 
Joseph S. Myers
[email protected]

Reply via email to