The following addresses a behavioral difference in vector type
analysis for typedef vs. non-typedef. It doesn't fix the issue
at hand but avoids a spurious difference in the dumps.
PR tree-optimization/116081
* tree-vect-stmts.cc (vect_get_vector_types_for_stmt):
Properly compare types.
vector size per vectorization). */
scalar_type = vect_get_smallest_scalar_type (stmt_info,
TREE_TYPE (vectype));
- if (scalar_type != TREE_TYPE (vectype))
+ if (!types_compatible_p (scalar_type, TREE_TYPE (vectype)))
{
if (dump_enabled_p ())
dump_printf_loc (MSG_NOTE, vect_location,