Re: [PATCH] tree-optimization: Improve spaceship_replacement [PR94589]

2021-05-20 Thread Richard Biener
On Thu, 20 May 2021, Jakub Jelinek wrote: > On Wed, May 19, 2021 at 01:30:31PM -0400, Jason Merrill via Gcc-patches wrote: > > Here, when genericizing lexicographical_compare_three_way, we haven't yet > > walked the operands, so (a == a) still sees ADDR_EXPR , but this is after > > we've changed t

[PATCH] tree-optimization: Improve spaceship_replacement [PR94589]

2021-05-20 Thread Jakub Jelinek via Gcc-patches
On Wed, May 19, 2021 at 01:30:31PM -0400, Jason Merrill via Gcc-patches wrote: > Here, when genericizing lexicographical_compare_three_way, we haven't yet > walked the operands, so (a == a) still sees ADDR_EXPR , but this is after > we've changed the type of a to REFERENCE_TYPE. When we try to fol