Re: [PATCH] sccvn: Fix handling of POINTER_PLUS_EXPR in memset offset [PR93582]

2020-03-04 Thread Richard Biener
On Wed, 4 Mar 2020, Jakub Jelinek wrote: > Hi! > > On Wed, Mar 04, 2020 at 11:33:06AM +0100, Richard Biener wrote: > > > where POINTER_PLUS_EXPR last operand has sizetype type, thus unsigned, > > > and in the testcase gimple_assign_rhs2 (def) is thus 0xf001ULL > > > which multiplied b

[PATCH] sccvn: Fix handling of POINTER_PLUS_EXPR in memset offset [PR93582]

2020-03-04 Thread Jakub Jelinek
Hi! On Wed, Mar 04, 2020 at 11:33:06AM +0100, Richard Biener wrote: > > where POINTER_PLUS_EXPR last operand has sizetype type, thus unsigned, > > and in the testcase gimple_assign_rhs2 (def) is thus 0xf001ULL > > which multiplied by 8 doesn't fit into signed HWI. If it would be treat