[llvm-testresults] buildbot failure in llvm on llvm-gcc-x86_64-darwin10-cross-i686-linux

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Feb 4 18:48:04 PST 2011


On Feb 4, 2011, at 5:44 PM, Eric Christopher wrote:

> ../../../../llvm-gcc.src/libstdc++-v3/libsupc++/vec.cc:359: internal compiler error: Abort trap
> 
>  CallSiteBase(CallTy *CI) : I(CI, true) { assert(CI); }
> 
> Aroo?
> 
>    if (CallInst *CI = dyn_cast<CallInst>(U)) {
>      // Turning an indirect call into a direct call is a BIG win
>      if (CI->getCalledValue() == V)
>        Bonus += ConstantFunctionBonus(CallSite(CI), C);
>    } else if (InvokeInst *II = dyn_cast<InvokeInst>(U)) {
>      // Turning an indirect call into a direct call is a BIG win
>      if (II->getCalledValue() == V)
>        Bonus += ConstantFunctionBonus(CallSite(CI), C);
>    }
> 
> when is CI going to be NULL here?

The else branch is using CI where it will always be null.

ISTR that clang would warn about such uses. Maybe that was disabled.

/jakob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-testresults/attachments/20110204/e8212c8d/attachment.bin>


More information about the llvm-testresults mailing list