https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99882
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:a40015780f8cc49476741b6914bd5ee97bd10f1d commit r11-7971-ga40015780f8cc49476741b6914bd5ee97bd10f1d Author: Jakub Jelinek <ja...@redhat.com> Date: Sat Apr 3 10:08:08 2021 +0200 bswap: Fix up bswap_view_convert after the recent change [PR99882] Martin reported that my recent change to allow pointer types in bswap broke valgrind. The bswap_view_convert function used for the initialization of vector CONSTRUCTOR from the identity or byte-swapped pieces unfortunately didn't handle pointer types. The following patch handles it there. 2021-04-03 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/99882 * gimple-ssa-store-merging.c (bswap_view_convert): Handle val with pointer type. * gcc.dg/pr99882.c: New test.