[PATCH] D88845: [SystemZ][z/OS] Set default alignment rules for z/OS target

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 10:20:08 PDT 2020


hubert.reinterpretcast added inline comments.


================
Comment at: clang/test/CodeGen/zos-alignment.c:114
+union u2 {
+  long      :0;
+  short      a;
----------------
The testing for no-attribute potentially 8-byte aligning zero-width bitfields in a non-initial position is missing.

```
struct A {
   char x;
   long : 0;
   char q;
};
```

What does the above do?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88845/new/

https://reviews.llvm.org/D88845



More information about the cfe-commits mailing list