Skip to content
Snippets Groups Projects
Commit e14c38aa authored by David Bühler's avatar David Bühler Committed by Andre Maroneze
Browse files

[kernel] Cabs2cil: fixes the alignement computation on packed directives.

- uses the alignment of a field type instead of its size to compute
  the field alignement.
- removes incorrect special case for flexible array members, introduced to
  circumvent a crash when computing their size. As we now use the alignment
  instead of the size, the crash no longer occurs.
- merges the implementation of two similar cases (whether there are aligned
  field attributes or not).
parent c2bddc97
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment