Re: [PATCH] Fix fnsplit ICE (PR tree-optimization/69209)

2016-02-08 Thread Richard Biener
On February 8, 2016 7:27:49 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >This fixes an ICE, where the split part doesn't return a value >of a is_gimple_reg_type retval, only compares its address (therefore it >is >addressable), and the main part only uses the var in return_bb. >In that case, retval

[PATCH] Fix fnsplit ICE (PR tree-optimization/69209)

2016-02-08 Thread Jakub Jelinek
Hi! This fixes an ICE, where the split part doesn't return a value of a is_gimple_reg_type retval, only compares its address (therefore it is addressable), and the main part only uses the var in return_bb. In that case, retval is not gimple val, but needs to be returned as gimple val. So we need