Re: [PATCH] Fix PR89698, bogus folding to BIT_FIELD_REF

2019-03-27 Thread Richard Sandiford
Richard Biener writes: > On Wed, 27 Mar 2019, Richard Sandiford wrote: > >> Richard Biener writes: >> > Our beloved condition combining code to BIT_FIELD_REFs miscompiles >> > the testcase because it relies on operand_equal_p to detect equal >> > bases. For some reason that very same

Re: [PATCH] Fix PR89698, bogus folding to BIT_FIELD_REF

2019-03-27 Thread Richard Biener
On Wed, 27 Mar 2019, Richard Sandiford wrote: > Richard Biener writes: > > Our beloved condition combining code to BIT_FIELD_REFs miscompiles > > the testcase because it relies on operand_equal_p to detect equal > > bases. For some reason that very same operand_equal_p is > > treating any

Re: [PATCH] Fix PR89698, bogus folding to BIT_FIELD_REF

2019-03-27 Thread Richard Sandiford
Richard Biener writes: > Our beloved condition combining code to BIT_FIELD_REFs miscompiles > the testcase because it relies on operand_equal_p to detect equal > bases. For some reason that very same operand_equal_p is > treating any dereference of a pointer based on the same pointer > or decl

[PATCH] Fix PR89698, bogus folding to BIT_FIELD_REF

2019-03-13 Thread Richard Biener
Our beloved condition combining code to BIT_FIELD_REFs miscompiles the testcase because it relies on operand_equal_p to detect equal bases. For some reason that very same operand_equal_p is treating any dereference of a pointer based on the same pointer or decl the same - idependent on the