aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorKaipeng Zhou <zhoukaipeng3@huawei.com>2020-06-24 22:48:45 +0800
committerRichard Biener <rguenther@suse.de>2020-06-29 12:58:10 +0200
commit35cf3c55165efe8226cb9e5397ab0620130396ea (patch)
tree6404e7a6bc193240061ded0cc903a996b4fb9cb8 /gcc/tree-vectorizer.h
parentceac3edb42e1090be8cee895a5659fe847a4050a (diff)
downloadgcc-35cf3c55165efe8226cb9e5397ab0620130396ea.zip
gcc-35cf3c55165efe8226cb9e5397ab0620130396ea.tar.gz
gcc-35cf3c55165efe8226cb9e5397ab0620130396ea.tar.bz2
store-merging: ICE in find_bswap_or_nop_1 PR95854.
The patch add a judgement in find_bswap_or_nop_1 to make sure both operand1 and operand2 cannot be converted to unsigned HOST_WIDE_INT. If not, return NULL. gcc/ChangeLog: 2020-06-24 Kaipeng Zhou <zhoukaipeng3@huawei.com> PR tree-optimization/95854 * gimple-ssa-store-merging.c (find_bswap_or_nop_1): Return NULL if operand 1 or 2 of a BIT_FIELD_REF cannot be converted to unsigned HOST_WIDE_INT. gcc/testsuite/ChangeLog: 2020-06-24 Kaipeng Zhou <zhoukaipeng3@huawei.com> PR tree-optimization/95854 * gcc.dg/pr95854.c: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions