Re: [PATCH] Fix vector ABS_EXPR >= 0 folding (PR tree-optimization/55832)

2013-01-03 Thread Richard Biener
On Thu, 3 Jan 2013, Jakub Jelinek wrote: > Hi! > > While omit_one_operand_loc fold_converts the value to the right type, > when type is vector, it is not possible to convert that way > integer_one_node. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for > trunk? Ok.

[PATCH] Fix vector ABS_EXPR >= 0 folding (PR tree-optimization/55832)

2013-01-03 Thread Jakub Jelinek
Hi! While omit_one_operand_loc fold_converts the value to the right type, when type is vector, it is not possible to convert that way integer_one_node. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-01-03 Jakub Jelinek Marc Glisse