diff options
author | Martin Uecker <uecker@tugraz.at> | 2024-11-29 17:04:36 +0100 |
---|---|---|
committer | Martin Uecker <uecker@gcc.gnu.org> | 2024-11-30 08:40:24 +0100 |
commit | 1539bcd19c5928d8359722c532dfcc7a26a16dda (patch) | |
tree | d97bf53ffeb8b67084aa2ce3642c36c4d39891e4 /gcc/debug.cc | |
parent | 1701efd5c848f56cf9a469c5bf42dd0bca675e0a (diff) | |
download | gcc-1539bcd19c5928d8359722c532dfcc7a26a16dda.zip gcc-1539bcd19c5928d8359722c532dfcc7a26a16dda.tar.gz gcc-1539bcd19c5928d8359722c532dfcc7a26a16dda.tar.bz2 |
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.
Diffstat (limited to 'gcc/debug.cc')
0 files changed, 0 insertions, 0 deletions