https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121717

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> This should not be hard to fix.
> 
> The fix for this is the following:
> in warn_dealloc_offset (in gimple-ssa-warn-access.cc), a check for 3
> arguments (or more?) passed to the operator delete.

2 or more arguments rather than 3.

> Check if the second argument is of type std::destroying_delete_t .
> 
> If so don't warn for any case.

Reply via email to