[llvm-commits] [llvm-gcc-4.2] r54498 - /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute/align-3.c

Bill Wendling isanbard at gmail.com
Thu Aug 7 17:52:12 PDT 2008


Author: void
Date: Thu Aug  7 19:52:12 2008
New Revision: 54498

URL: http://llvm.org/viewvc/llvm-project?rev=54498&view=rev
Log:
Sync up the gcc.c-torture/execute testsuites with Apple's GCC testsuite.

Added:
    llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute/align-3.c

Added: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute/align-3.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute/align-3.c?rev=54498&view=auto

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute/align-3.c (added)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute/align-3.c Thu Aug  7 19:52:12 2008
@@ -0,0 +1,15 @@
+/* APPLE LOCAL file mainline aligned functions 5933878 */
+void func(void) __attribute__((aligned(256)));
+
+void func(void)
+{
+}
+
+int main()
+{
+  if (((long)func & 0xFF) != 0)
+    abort ();
+  if (__alignof__(func) != 256)
+    abort ();
+  return 0;
+}





More information about the llvm-commits mailing list