[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 06:24:17 PDT 2021


fanbo-meng created this revision.
Herald added a subscriber: krytarowski.
fanbo-meng requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This reverts commit d91234b21c1a1a34d98157089a8769d8f9a32f06 <https://reviews.llvm.org/rGd91234b21c1a1a34d98157089a8769d8f9a32f06>.


Repository:
  rG LLVM Github Monorepo

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.364439.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210805/b77c62ed/attachment.bin>


More information about the cfe-commits mailing list