ahatanak added a comment. I was looking at another example. The following code is accepted by 10.3, but is rejected by 11.1 because the size isn't a multiple of the alignment.
struct __attribute__((packed)) S { char c; int i; }; typedef S AlignedS __attribute__((aligned(4))); AlignedS array[4]; https://godbolt.org/z/hcoznss1d Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133711/new/ https://reviews.llvm.org/D133711 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits