Closed Quuxplusone closed 13 years ago
bugpoint-reduced-simplified.bc
I've tried to compile gimp with clang 2.9-trunk. While compiling app/gegl/gimpoperationcolorbalance.c, clang crashes. This happens with -O1 but not with -O0 or with gcc 4.4.5. I'm on amd64 linux 2.6.36. *** Attempting to perform final cleanups: opt: Instructions.cpp:1624: void llvm::BinaryOperator::init(llvm::Instruction::BinaryOps): Assertion `getType()- >isIntOrIntVectorTy() && "Tried to create an integer operation on a non-integer type!"' failed. 0 libLLVM-2.9svn.so 0x00007f631accde4f 1 libLLVM-2.9svn.so 0x00007f631acce439 2 libpthread.so.0 0x00007f631a237ca0 3 libc.so.6 0x00007f631955bea5 gsignal + 53 4 libc.so.6 0x00007f631955d13f abort + 383 5 libc.so.6 0x00007f6319555061 __assert_fail + 241 6 libLLVM-2.9svn.so 0x00007f631ad640ff llvm::BinaryOperator::init(llvm::Instruction::BinaryOps) + 639 7 libLLVM-2.9svn.so 0x00007f631ad652e5 llvm::BinaryOperator::CreateNeg(llvm::Value*, llvm::Twine const&, llvm::Instruction*) + 309 8 libLLVM-2.9svn.so 0x00007f631ab5e377 9 libLLVM-2.9svn.so 0x00007f631ab7959e 10 libLLVM-2.9svn.so 0x00007f631ab7a05f 11 libLLVM-2.9svn.so 0x00007f631ad825ab llvm::FPPassManager::runOnFunction(llvm::Function&) + 331 12 libLLVM-2.9svn.so 0x00007f631ad8288b llvm::FPPassManager::runOnModule(llvm::Module&) + 75 13 libLLVM-2.9svn.so 0x00007f631ad829d8 llvm::MPPassManager::runOnModule(llvm::Module&) + 280 14 libLLVM-2.9svn.so 0x00007f631ad82f72 llvm::PassManagerImpl::run(llvm::Module&) + 210 15 libLLVM-2.9svn.so 0x00007f631ad834cd llvm::PassManager::run(llvm::Module&) + 13 16 opt 0x000000000040fb17 main + 4983 17 libc.so.6 0x00007f6319548b6d __libc_start_main + 253 18 opt 0x000000000040a069 Stack dump: 0. Program arguments: /usr/bin/opt -o bugpoint-output.bc -instcombine bugpoint-input.bc 1. Running pass 'Function Pass Manager' on module 'bugpoint-input.bc'. 2. Running pass 'Combine redundant instructions' on function '@gimp_operation_color_balance_map' Crashed with signal #6 Dumped core Emitted bitcode to 'bugpoint-reduced-simplified.bc' *** You can reproduce the problem with: opt bugpoint-reduced-simplified.bc - instcombine
Attached bugpoint-reduced-simplified.bc (3324 bytes, application/octet-stream): reduced by bugpoint
Fixed in 117510.
bugpoint-reduced-simplified.bc
(3324 bytes, application/octet-stream)