On 09/17/2014 02:02 PM, Jason Merrill wrote:
On 09/17/2014 11:40 AM, Jakub Jelinek wrote:And for the last one, should we before dynamic_cast verify the object passed to dynamic_cast has the expected vptr?
Perhaps we should just add checking to the dynamic_cast code. I'm not sure if that would slow it down enough to merit a separate entry point for checking.
There is some checking I want to do in dynamic_cast, but I think we also want to verify that the argument has the type expected.
Jason