[llvm-commits] [llvm-gcc-4.2] r73248 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
Devang Patel
dpatel at apple.com
Fri Jun 12 12:58:04 PDT 2009
Author: dpatel
Date: Fri Jun 12 14:58:03 2009
New Revision: 73248
URL: http://llvm.org/viewvc/llvm-project?rev=73248&view=rev
Log:
Red zone setting is meaningful only if TARGET_64BIT is set.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h?rev=73248&r1=73247&r2=73248&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h Fri Jun 12 14:58:03 2009
@@ -90,7 +90,7 @@
}
#define LLVM_SET_RED_ZONE_FLAG(disable_red_zone) \
- if (TARGET_NO_RED_ZONE) \
+ if (TARGET_64BIT && TARGET_NO_RED_ZONE) \
disable_red_zone = 1;
#ifdef LLVM_ABI_H
More information about the llvm-commits
mailing list