Re: [PATCH 1/2] Remove cp_lookup_transparent_type

Simon Marchi
2026-01-22T03:11:41Z

On 2026-01-21 19:51, Tom Tromey wrote:
> cp_lookup_transparent_type seems to be a workaround for bugs in very
> old compilers. A comment mentions that the bugs are fixed in GCC 3.4
> -- released in 2004.
>
> I think this is long past due for removal, which this patch does.

I don't have first hand experience with this, but yeah this comment
makes me confident that it is ok to remove:

We should delete this functions once the appropriate debug
information becomes more widespread. (GCC 3.4 will be the first
released version of GCC with such information.)

Approved-By: Simon Marchi <simon.marchi@efficios.com>

Simon