Re: [PATCH] c++: bound ttp level lowering [PR109531]

2023-04-17 Thread Jason Merrill via Gcc-patches
On 4/17/23 14:44, Patrick Palka wrote: Here when level lowering the bound ttp TT via the substitution T=C, we're neglecting to canonicalize (and therefore strip of simple typedefs) the resulting template arguments {A} before determining its new canonical type via hash table lookup. This leads to

[PATCH] c++: bound ttp level lowering [PR109531]

2023-04-17 Thread Patrick Palka via Gcc-patches
Here when level lowering the bound ttp TT via the substitution T=C, we're neglecting to canonicalize (and therefore strip of simple typedefs) the resulting template arguments {A} before determining its new canonical type via hash table lookup. This leads to an a hash mismatch ICE for the two equiv