aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-05-21 16:25:03 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2012-05-21 16:25:03 +0200
commit27edb974ee6ab6c0be6118835e6a7b395899531a (patch)
treebaea0e384baa178c2869b3a68a1f5c35d3ca5a75 /gcc/tree-vect-loop.c
parentfb639843e4bb0b43d08de4baca618fe98ee04e91 (diff)
downloadgcc-27edb974ee6ab6c0be6118835e6a7b395899531a.zip
gcc-27edb974ee6ab6c0be6118835e6a7b395899531a.tar.gz
gcc-27edb974ee6ab6c0be6118835e6a7b395899531a.tar.bz2
re PR tree-optimization/53410 (ICE in build_int_cst_wide, at tree.c:1219)
PR tree-optimization/53410 * fold-const.c (fold_binary_loc): Use build_zero_cst (type) instead of build_int_cst (type, 0) where vector types might be involved. Instead of build_int_cst (type, 1) convert the original integer_onep argument to the desired type. * gcc.c-torture/compile/pr53410-1.c: New test. * gcc.c-torture/compile/pr53410-2.c: New test. From-SVN: r187715
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions