range-analysis
range-analysis copied to clipboard
Error in compiling RAInstrumentation.cpp on llvm-3.4
What steps will reproduce the problem?
1. cd ${llvmpath}/lib/Transforms/RAInstrumentation && make
What is the expected output? What do you see instead?
llvm[0]: Compiling RAInstrumentation.cpp for Release+Asserts build (PIC)
RAInstrumentation.cpp: In member function ‘virtual bool
llvm::RAInstrumentation::runOnModule(llvm::Module&)’:
RAInstrumentation.cpp:147:38: error: cast from ‘llvm::cast_retty<llvm::Value,
llvm::ilist_iterator<llvm::Instruction> >::ret_type {aka llvm::Value*}’ to
‘int’ loses precision [-fpermissive]
<< " " << (int)cast<Value>(Iit) << "\n";
^
What version of the product are you using? On what operating system?
llvm-3.4 on Ubuntu 14.04 (64-bit)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2015 at 4:37