https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128638
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
One reason EXP_GEN is incomplete is
vn_reference_lookup_pieces (gimple_vuse (stmt), set,
base_set, TREE_TYPE (rhs1),
operands, &ref, VN_WALK);
/* When there is no value recorded or the value was
recorded for a different type, fail, similar as
how we do during PHI translation. */
if (!ref
|| !useless_type_conversion_p (TREE_TYPE (rhs1),
ref->type))
{
operands.release ();
continue;
so related to how we value-number type-punned loads.