[llvm-commits] [llvm-gcc-4.2] r46163 - /llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Lauro Ramos Venancio
lauro.venancio at gmail.com
Fri Jan 18 10:14:24 PST 2008
Author: laurov
Date: Fri Jan 18 12:14:23 2008
New Revision: 46163
URL: http://llvm.org/viewvc/llvm-project?rev=46163&view=rev
Log:
Eliminate a compilation warning.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.c?rev=46163&r1=46162&r2=46163&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.c Fri Jan 18 12:14:23 2008
@@ -15233,11 +15233,14 @@
(inter-module thumbness is fixed up by the linker). */
rtx tem = gen_rtx_SYMBOL_REF (Pmode, function_name);
- if (TARGET_MACHO
- && ! machopic_data_defined_p (function_rtx))
+#if TARGET_MACHO
+ if (! machopic_data_defined_p (function_rtx))
tem = gen_rtx_PLUS (GET_MODE (tem), tem, GEN_INT (-8));
else
tem = gen_rtx_PLUS (GET_MODE (tem), tem, GEN_INT (-7));
+#else
+ tem = gen_rtx_PLUS (GET_MODE (tem), tem, GEN_INT (-7));
+#endif
/* APPLE LOCAL end ARM 4745175 */
tem = gen_rtx_MINUS (GET_MODE (tem),
More information about the llvm-commits
mailing list