[llvm-commits] Patch for undefined behaviour in ManagedStatic.h

Chris Lattner clattner at apple.com
Thu Jul 9 09:46:27 PDT 2009


On Jul 9, 2009, at 9:42 AM, Owen Anderson wrote:
>> For reference, the issue arises with the declaration of
>> ManagedStatic<PsuedoSourceValue[4]> PSVs
>> in CodeGen/PseudoSourceValue.cpp
>>
>> This is the only instantiation with an array that I know of.
>
> Nice catch, Alisdair.  I've confirmed that you patch works correctly
> on Darwin.

I agree: nice catch!  Please commit! :)

-Chris



More information about the llvm-commits mailing list