Re: [PATCH] Fix recent thinko in operand_equal_p

2022-11-04 Thread Richard Biener via Gcc-patches
> Am 04.11.2022 um 10:29 schrieb Eric Botcazou via Gcc-patches > : > > Hi, > > there is a thinko in the recent improvement by Jan: > > 2020-11-19 Jan Hubicka > >* fold-const.c (operand_compare::operand_equal_p): Fix thinko in >COMPONENT_REF handling and guard types_same_for_odr

[PATCH] Fix recent thinko in operand_equal_p

2022-11-04 Thread Eric Botcazou via Gcc-patches
Hi, there is a thinko in the recent improvement by Jan: 2020-11-19 Jan Hubicka * fold-const.c (operand_compare::operand_equal_p): Fix thinko in COMPONENT_REF handling and guard types_same_for_odr by virtual_method_call_p. (operand_compare::hash_operand): Likewi