[llvm-commits] [llvm-gcc-4.2] r43935 - /llvm-gcc-4.2/trunk/gcc/c-common.c
Anton Korobeynikov
asl at math.spbu.ru
Fri Nov 9 02:15:17 PST 2007
Author: asl
Date: Fri Nov 9 04:15:11 2007
New Revision: 43935
URL: http://llvm.org/viewvc/llvm-project?rev=43935&view=rev
Log:
Make the check general. This also fixes PR1785
Modified:
llvm-gcc-4.2/trunk/gcc/c-common.c
Modified: llvm-gcc-4.2/trunk/gcc/c-common.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/c-common.c?rev=43935&r1=43934&r2=43935&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/c-common.c (original)
+++ llvm-gcc-4.2/trunk/gcc/c-common.c Fri Nov 9 04:15:11 2007
@@ -7574,7 +7574,7 @@
clobbers = tree_cons (NULL_TREE,
build_string (3, "eax"),
clobbers);
- if (MACHO_DYNAMIC_NO_PIC_P)
+ if (!flag_pic)
clobbers = tree_cons (NULL_TREE,
build_string (3, "ebx"),
clobbers);
More information about the llvm-commits
mailing list