aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorYang Yang <yangyang305@huawei.com>2020-04-14 19:42:23 +0000
committerRichard Biener <rguenther@suse.de>2020-04-14 16:02:31 +0200
commitf65cecabc32fe12b024253502af953e657e1a878 (patch)
treed80cba380e95cde4d8d064c1a059037dc617adea /gcc/c/c-parser.c
parent438ffa2a8fac925b1bee8862fa15bc5380c0dffd (diff)
downloadgcc-f65cecabc32fe12b024253502af953e657e1a878.zip
gcc-f65cecabc32fe12b024253502af953e657e1a878.tar.gz
gcc-f65cecabc32fe12b024253502af953e657e1a878.tar.bz2
PR tree-optimization/94574 - aarch64: ICE during GIMPLE pass:ccp
In this PR the testcase ICEs because a BIT_INSERT_EXPR whose replaced bits are not fully inside the container is generated. A size check is added to avoid this kind of ICE. gcc/ChangeLog: PR tree-optimization/94574 * tree-ssa.c (non_rewritable_lvalue_p): Add size check when analyzing whether a vector-insert is rewritable using a BIT_INSERT_EXPR. gcc/testsuite/ChangeLog: PR tree-optimization/94574 * gcc.dg/pr94574.c: New test.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions