[PATCH] D107565: Revert "[SystemZ][z/OS] Update target specific __attribute__((aligned)) value for test"
Fanbo Meng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 5 07:14:13 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG91e399519580: Revert "[SystemZ][z/OS] Update target specific __attribute__((aligned)) value… (authored by fanbo-meng).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107565/new/
https://reviews.llvm.org/D107565
Files:
clang/test/Sema/struct-packed-align.c
Index: clang/test/Sema/struct-packed-align.c
===================================================================
--- clang/test/Sema/struct-packed-align.c
+++ clang/test/Sema/struct-packed-align.c
@@ -59,7 +59,7 @@
struct __attribute__((aligned)) as1_2 {
char c;
};
-#if ((defined(__s390x__) && !defined(__MVS__)) || (defined(__ARM_32BIT_STATE) && !defined(__ANDROID__)))
+#if ( defined(__s390x__) || ( defined (__ARM_32BIT_STATE) && ! defined(__ANDROID__) ) )
extern int e1_2[sizeof(struct as1_2) == 8 ? 1 : -1];
extern int e2_2[__alignof(struct as1_2) == 8 ? 1 : -1];
#else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107565.364455.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210805/d1f68590/attachment.bin>
More information about the cfe-commits
mailing list