https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109495
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
That said, the comment says
padding that shouldn't be clobbered. In the future we could
replace the TREE_ADDRESSABLE check with a check that
get_base_address needs to live in memory. */
but maybe testing for BLKmode is enough here. So
&& ((mode != BLKmode && !TREE_ADDRESSABLE (TREE_TYPE (exp)))
