On Fri, 29 Nov 2024, Martin Uecker wrote:

> It seems we also miss a decl_attributes call for the fields
> when building the composite type.
> 
> 
> Bootstrapped and regression tested on x86_64.
> 
> 
>     c: Set attributes for fields when forming a composite type [PR117806]
>     
>     We need to call decl_attributes when creating the fields for a composite
>     type.
>     
>             PR c/117806
>     
>     gcc/c/ChangeLog:
>             * c-typeck.cc (composite_type_internal): Call decl_attributes.
>     
>     gcc/testsuite/ChangeLog:
>             * gcc.dg/pr117806.c: New test.

OK.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to