Re: building generic tree to compare base classes at runtime

2025-07-06 Thread Thomas de Bock via Gcc
Bock via Gcc Sent: 06 July 2025 16:46:16 To: gcc@gcc.gnu.org Subject: [ext] building generic tree to compare base classes at runtime Hello, currently working on a tiny experimental compiler optimization in the C++ frontend. Trying to compare the base classes of 2 types at runtime, then if they

building generic tree to compare base classes at runtime

2025-07-06 Thread Thomas de Bock via Gcc
Hello, currently working on a tiny experimental compiler optimization in the C++ frontend. Trying to compare the base classes of 2 types at runtime, then if they are equal, statically cast the second operand's type to the first and the tree should return the now-casted ptr of the second operand,