diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-04-03 10:08:08 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-04-03 10:08:08 +0200 |
commit | a40015780f8cc49476741b6914bd5ee97bd10f1d (patch) | |
tree | be2627e45e56112e7e3e35eab8ae3424cc7558f7 /gcc/d | |
parent | 9c7473688e78dc41fd4312a983453df195dd7786 (diff) | |
download | gcc-a40015780f8cc49476741b6914bd5ee97bd10f1d.zip gcc-a40015780f8cc49476741b6914bd5ee97bd10f1d.tar.gz gcc-a40015780f8cc49476741b6914bd5ee97bd10f1d.tar.bz2 |
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 <jakub@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.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions