diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2021-09-21 16:30:19 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-09-28 10:25:35 +0200 |
commit | 6ede270e6f386a099bc898307168e75ebd819c7e (patch) | |
tree | f5f1e6d35f383da93346ff38e05a87b2f104f1a9 /riscV/NeedOp.v | |
parent | 2892e2caa89f927062824ca901562d085a76d619 (diff) | |
download | compcert-6ede270e6f386a099bc898307168e75ebd819c7e.tar.gz compcert-6ede270e6f386a099bc898307168e75ebd819c7e.zip |
Ignore unnamed bit fields for initialization of unions
When a union is initialized with an initializer without designator the
first named member should be initialized. This commit skips members
without names during the elaboration of union initializers.
Note that anonymous members (unnamed members of struct or union type)
should not be skipped, and are not skipped since elaboration give names
to these members.
Bug 31982
Diffstat (limited to 'riscV/NeedOp.v')
0 files changed, 0 insertions, 0 deletions