llvmgcc ToT broken

The first buildbot failure I can readily find was Monday, 26oct2009 around 7PM PDT. The assertion is

Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Params[i]->getType()) && “Calling a function with a bad signature!”), function init, file /Volumes/Sandbox/Buildbot/llvm/build.llvm-gcc-x86_64-darwin10-selfhost/llvmCore.roots/llvmCore~obj/src/lib/VMCore/Instructions.cpp, line 312.

It seems to be compiling function uw_frame_state_for() within unwind-dw2.c; apparently the parameter types weren’t a good match for a call to __builtin_object_size().

Does this look familiar to anyone?

stuart

The first buildbot failure I can readily find was Monday, 26oct2009 around 7PM PDT. The assertion is

Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Params[i]->getType()) && “Calling a function with a bad signature!”), function init, file /Volumes/Sandbox/Buildbot/llvm/build.llvm-gcc-x86_64-darwin10-selfhost/llvmCore.roots/llvmCore~obj/src/lib/VMCore/Instructions.cpp, line 312.

Yes, I’ve been fighting through it this morning. Reverting Eric’s patch fixed it (you might have to remove stmp* files to get it to rebuild enough stuff).

Yeah, it's me. Unexpected behavior, I think Bob was backing it out. If not I will and fix.

-eric

Bob already reverted on ToT. Please update.

Thanks.

-eric