Skip to content

We should detect and skip over anonymous bitfields #1819

@edsko

Description

@edsko

Given

struct __attribute__((packed)) foo {
  int64_t x1 : 50;
  int64_t : 0;
  int64_t x2 : 50;
};

we currently try to generate a field for that anonymous bitfield (which is sometimes used to influence how the compiler packs the fields). With --enable-record-dot that then results in a name mangler failure (since it cannot mangle an empty name).

Metadata

Metadata

Labels

bugSomething isn't workingpriority: mediumDefault priority: tickets we're planning to work on, though not necessarily soon.release-0.1Required for the first public release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions