[llvm-commits] [llvm-gcc-4.2] r42352 - /llvm-gcc-4.2/trunk/gcc/config/freebsd.h

Anton Korobeynikov asl at math.spbu.ru
Wed Sep 26 00:40:13 PDT 2007


Author: asl
Date: Wed Sep 26 02:40:13 2007
New Revision: 42352

URL: http://llvm.org/viewvc/llvm-project?rev=42352&view=rev
Log:
FreeBSD really supports #pragma pack(push). This fixes PR1702

Modified:
    llvm-gcc-4.2/trunk/gcc/config/freebsd.h

Modified: llvm-gcc-4.2/trunk/gcc/config/freebsd.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/freebsd.h?rev=42352&r1=42351&r2=42352&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/freebsd.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/freebsd.h Wed Sep 26 02:40:13 2007
@@ -85,3 +85,7 @@
    This enables the test coverage code to use file locking when exiting a
    program, which avoids race conditions if the program has forked.  */
 #define TARGET_POSIX_IO
+
+/* LLVM LOCAL begin */
+#define HANDLE_PRAGMA_PACK_PUSH_POP
+/* LLVM LOCAL end */





More information about the llvm-commits mailing list