[LLVMdev] Compile error in InstrSelectionSupport.cpp

Chris Lattner sabre at nondot.org
Tue Sep 17 12:26:01 PDT 2002

> 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:



More information about the llvm-dev mailing list