On 11/9/26 8:45 AM, Shiva S wrote:
The private mem_alloc_description::register_overhead overload is never
used, and it calls register_descriptor with five arguments, which no
overload accepts. Compilers that check template member definitions
eagerly reject it.
gcc/ChangeLog:
* mem-stats.h (mem_alloc_description::register_overhead): Remove
the unused private overload.
Signed-off-by: Shiva <[email protected]>
---
Bootstrapped and regression-tested on x86_64-pc-linux-gnu and
aarch64-unknown-linux-gnu. I do not have write access; please commit
if approved.
Was this tested with GATHER_STATISTICS enabled? While the change looks
correct to me, I'd feel even more comfortable if we were sure that had
been tested. The macro-hell in that code just makes my brain hurt.
jeff