[llvm-commits] [llvm-gcc-4.2] r56728 - /llvm-gcc-4.2/trunk/gcc/config/darwin-c.c
Bill Wendling
isanbard at gmail.com
Fri Sep 26 17:22:11 PDT 2008
Author: void
Date: Fri Sep 26 19:22:11 2008
New Revision: 56728
URL: http://llvm.org/viewvc/llvm-project?rev=56728&view=rev
Log:
Don't define __block macro with -fno-blocks.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin-c.c
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin-c.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin-c.c?rev=56728&r1=56727&r2=56728&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin-c.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin-c.c Fri Sep 26 19:22:11 2008
@@ -1090,10 +1090,8 @@
builtin_define ("__byref=__attribute__((__blocks__(byref)))");
builtin_define ("__block=__attribute__((__blocks__(byref)))");
}
- else {
- builtin_define ("__byref=");
- builtin_define ("__block=");
- }
+ /* APPLE LOCAL radar 6230656 */
+ /* code removed */
/* APPLE LOCAL end radar 5932809 - copyable byref blocks */
/* APPLE LOCAL begin C* warnings to easy porting to new abi */
More information about the llvm-commits
mailing list