Summary: | __attribute__((__packed__)) does not pack struct containing uint16_t with uint32_t | ||
---|---|---|---|
Product: | gcc | Reporter: | Szikra <steven.spark> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | Keywords: | ABI, wrong-code |
Priority: | P3 | ||
Version: | 4.8.1 | ||
Target Milestone: | --- | ||
See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54589 | ||
Host: | Target: | x86_64-w64-mingw32 | |
Build: | Known to work: | 10.1.0, 8.1.0, 8.5.0 | |
Known to fail: | 7.5.0 | Last reconfirmed: | |
Attachments: | preprocessed bugreport_packed.c |
Description
Szikra
2014-07-15 15:25:16 UTC
This appears to be a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54589 (__attribute__((packed)) doesn't work on mingw32 targets since ms-bitfields became the default). |