Message ID | alpine.LSU.2.20.1707030931230.23185@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Index: gcc/tree-vect-loop.c =================================================================== --- gcc/tree-vect-loop.c (revision 249897) +++ gcc/tree-vect-loop.c (working copy) @@ -4842,7 +4842,8 @@ vect_create_epilog_for_reduction (vec<tr /* Convert the reduced value back to the result type and set as the result. */ gimple_seq stmts = NULL; - new_temp = gimple_convert (&stmts, scalar_type, data_reduc); + new_temp = gimple_build (&stmts, VIEW_CONVERT_EXPR, scalar_type, + data_reduc); gsi_insert_seq_before (&exit_gsi, stmts, GSI_SAME_STMT); scalar_results.safe_push (new_temp); }