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

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

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

commit r14-11437-ga3989d8158705975ab72c9167469905cbe7d11cf
Author: Martin Uecker <uec...@tugraz.at>
Date:   Sat Mar 22 17:35:58 2025 +0100

    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.

    (cherry picked from commit 1539bcd19c5928d8359722c532dfcc7a26a16dda)

Reply via email to