[PATCH] D133711: [Sema] Reject array element types whose alignments are larger than their sizes
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 13 09:28:41 PDT 2022
efriedma added a comment.
> Usually the solution is to round up the size to the alignment. Can you provide godbolt examples of what GCC and MSVC do?
gcc prints a similar error, MSVC doesn't support an equivalent alignment attribute.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133711/new/
https://reviews.llvm.org/D133711
More information about the cfe-commits
mailing list