[cfe-commits] Patch: Add warning for undefined reinterpret_cast behavior

Sebastian Redl sebastian.redl at getdesigned.at
Tue Apr 12 00:26:34 PDT 2011


On 11.04.2011 18:44, Chandler Carruth wrote:
> 2) Don't warn for reinterpret casts of tag types. The original bug 
> this was intended to catch were people abusing reinterpret cast to get 
> at the bits of a float.
What's wrong with getting at the bits of a float? We are bound to the 
Intel platform, so that's a very predictable operation.

Sebastian



More information about the cfe-commits mailing list