https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91723
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- --- tree-vect-stmts.c.jj22019-08-27 23:01:31.000000000 +0200 +++ tree-vect-stmts.c2019-09-10 20:28:18.646389500 +0200 @@ -3308,7 +3308,7 @@ vectorizable_call (stmt_vec_info stmt_in if (!vectype_in) vectype_in = vectypes[i]; else if (vectypes[i] - && vectypes[i] != vectype_in) + && !types_compatible_p (vectypes[i], vectype_in)) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, fixes this.