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

--- Comment #5 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:1539bcd19c5928d8359722c532dfcc7a26a16dda

commit r15-5816-g1539bcd19c5928d8359722c532dfcc7a26a16dda
Author: Martin Uecker <uec...@tugraz.at>
Date:   Fri Nov 29 17:04:36 2024 +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.

Reply via email to