Compile error in InstrSelectionSupport.cpp

ISSUE: line 474 of InstrSelectionSupport.cpp is a conditional expression of the form (<expr> ? (ConstantSInt*) : (ConstantUInt*)), which is an unholy mixture of pointer types.

ACTION: Apply static_cast<Value*> to the two pointers, as the source intends.

patch (720 Bytes)

ISSUE: line 474 of InstrSelectionSupport.cpp is a conditional expression
of the form (<expr> ? (ConstantSInt*) : (ConstantUInt*)), which is an
unholy mixture of pointer types.

Actually, it's a GCC 2.96 bug. They have a common base class, which they
should be promoted to, but aren't.

Fixed thusly:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20020916/000279.html

-Chris

http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/