Re: [PATCH] Fix fold_const_vec_convert (PR middle-end/89210)

2019-02-06 Thread Richard Sandiford
Jakub Jelinek writes: > Hi! > > Apparently VECTOR_CSTs shouldn't be stepped if they contain floating > elements and also widening conversions can be problematic if there is > wrapping in the narrower type. On the following testcase, we create a > stepped VECTOR_CST with REAL_CST elts and ICE when

[PATCH] Fix fold_const_vec_convert (PR middle-end/89210)

2019-02-05 Thread Jakub Jelinek
Hi! Apparently VECTOR_CSTs shouldn't be stepped if they contain floating elements and also widening conversions can be problematic if there is wrapping in the narrower type. On the following testcase, we create a stepped VECTOR_CST with REAL_CST elts and ICE whenever we try to print it or when we