[llvm-commits] [llvm-gcc-4.2] r61687 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Evan Cheng
evan.cheng at apple.com
Mon Jan 5 00:53:12 PST 2009
Author: evancheng
Date: Mon Jan 5 02:53:12 2009
New Revision: 61687
URL: http://llvm.org/viewvc/llvm-project?rev=61687&view=rev
Log:
Extended holiday => inverted logic. This fixes pr3279.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=61687&r1=61686&r2=61687&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Mon Jan 5 02:53:12 2009
@@ -4203,7 +4203,7 @@
// is big endian.
if (ISDIGIT(Constraint[0])) {
unsigned Match = atoi(Constraint);
- const Type *OTy = (Match > CallResultTypes.size())
+ const Type *OTy = (Match < CallResultTypes.size())
? CallResultTypes[Match] : 0;
if (OTy && OTy != OpTy) {
if (!(isa<IntegerType>(OTy) || isa<PointerType>(OTy)) ||
More information about the llvm-commits
mailing list