[PATCH] Set correct source location for deallocator calls

Jason Merrill jason@redhat.com
Thu Aug 9 22:07:00 GMT 2012


On 08/08/2012 12:32 PM, Richard Henderson wrote:
> On 08/08/2012 09:27 AM, Dehao Chen wrote:
>> Then we should probably assign UNKNOWN_LOCATION for these destructor
>> calls, what do you guys think?
>
> I think it's certainly plausible.  I can't think what other problems
> such a change would cause.  Jason?

cxx_maybe_build_cleanup is already trying to do that.  If it's missing 
some cases then yes, let's fix them too.

Jason



More information about the Gcc-patches mailing list