fold-const.c
523 KB
-
re PR tree-optimization/53410 (ICE in build_int_cst_wide, at tree.c:1219) · 27edb974
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
Jakub Jelinek committed