On Mon, May 27, 2024 at 11:11:43AM +0200, Richard Biener wrote:
> For the following testcase we fail to demangle
> _ZZN5OuterIvE6methodIvEEvvQ3cstITL0__EEN5InnernwEm and
> _ZZN5OuterIvE6methodIvEEvvQ3cstITL0__EEN5InnerdlEPv and in turn end
> up building NULL references.  The following puts in a safeguard for
> faile demangling into -Waccess.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, OK?
> 
> Thanks,
> Richard.
> 
>       PR tree-optimization/115232
>       * gimple-ssa-warn-access.cc (new_delete_mismatch_p): Handle
>       failure to demangle gracefully.
> 
>       * g++.dg/pr115232.C: New testcase.

LGTM, thanks.

        Jakub

Reply via email to