Re: [PATCH] Fix simplify_const_unary_operation (PR debug/48204)

2011-03-24 Thread Richard Guenther
On Wed, Mar 23, 2011 at 9:11 PM, Jakub Jelinek wrote: > Hi! > > simplify_const_unary_operation assumes it doesn't have to change anything > in REAL_VALUE_TYPE for FLOAT_EXTEND, which is wrong when FLOAT_EXTENDing > e.g. from SFmode to DDmode or SDmode to DFmode, where the number > needs to be conv

[PATCH] Fix simplify_const_unary_operation (PR debug/48204)

2011-03-23 Thread Jakub Jelinek
Hi! simplify_const_unary_operation assumes it doesn't have to change anything in REAL_VALUE_TYPE for FLOAT_EXTEND, which is wrong when FLOAT_EXTENDing e.g. from SFmode to DDmode or SDmode to DFmode, where the number needs to be converted from binary to decimal or vice versa. Fixed thusly, bootstr