[PATCH] fold-const: Fix division folding with vector operands [PR94412]

2020-03-31 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase is miscompiled since 4.9, we treat unsigned vector types as if they were signed and "optimize" negations across it. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2020-03-31 Marc Glisse Jakub Jelinek PR midd

Re: [PATCH] fold-const: Fix division folding with vector operands [PR94412]

2020-03-31 Thread Richard Biener
On Tue, 31 Mar 2020, Jakub Jelinek wrote: > Hi! > > The following testcase is miscompiled since 4.9, we treat unsigned > vector types as if they were signed and "optimize" negations across it. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for > trunk? OK. Richard.