On Wed, 11 Sep 2019, Martin Li¨ka wrote: > Hello. > > One another updated version of the patch. > Changes from the previous version: > - I fixed: > gimple *stmt1 = (gimple *) XALLOCAVEC (char, gimple_size (GIMPLE_ASSIGN, 2)); > into gimple_size (GIMPLE_ASSIGN, 3) > - I simplified condition in gimple_simplified_result_is_gimple_val > - optimize_vec_cond_expr is using build_same_sized_truth_vector_type Can you here instead amend ovce_extract_ops to return the type of 'cond' which should be the type you want? Otherwise OK. Richard. > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin