aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-12-02 17:51:08 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-12-02 17:51:08 +0000
commitfddcfa5b84bf8a063e3e1347d787df5a36beceb2 (patch)
tree6044144f87e20cc2c9695e330d90f5a6162fe782 /gcc/tree-ssa.c
parentc0e0174bbd7009d34e78484bbaa9e0353939819c (diff)
downloadgcc-fddcfa5b84bf8a063e3e1347d787df5a36beceb2.zip
gcc-fddcfa5b84bf8a063e3e1347d787df5a36beceb2.tar.gz
gcc-fddcfa5b84bf8a063e3e1347d787df5a36beceb2.tar.bz2
Tighten check for vector types in fold_convertible_p (PR 92741)
In this PR, IPA-CP was misled into using NOP_EXPR rather than VIEW_CONVERT_EXPR to reinterpret a vector of 4 shorts as a vector of 2 ints. This tripped the tree-cfg.c assert I'd added in r278245. 2019-12-02 Richard Sandiford <richard.sandiford@arm.com> gcc/ PR middle-end/92741 * fold-const.c (fold_convertible_p): Check vector types more thoroughly. gcc/testsuite/ PR middle-end/92741 * gcc.dg/pr92741.c: New test. From-SVN: r278910
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions