aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2024-03-21 13:15:23 +0800
committerliuhongt <hongtao.liu@intel.com>2024-03-21 17:59:34 +0800
commitac2f8c2a367151fc0410f904339c475a953cffc8 (patch)
treee173309b4978e4a666c4f9747c35059989718f12 /libgcc
parent134ef2a8cac1a5cc718739bd7d3b3472947c80d6 (diff)
downloadgcc-ac2f8c2a367151fc0410f904339c475a953cffc8.zip
gcc-ac2f8c2a367151fc0410f904339c475a953cffc8.tar.gz
gcc-ac2f8c2a367151fc0410f904339c475a953cffc8.tar.bz2
Fix runtime error for nonlinear iv vectorization(step_mult).
wi::from_mpz doesn't take a sign argument, we want it to be wrapped instead of saturation, so pass utype and true to it, and it fixes the bug. gcc/ChangeLog: PR tree-optimization/114396 * tree-vect-loop.cc (vect_peel_nonlinear_iv_init): Pass utype and true to wi::from_mpz. gcc/testsuite/ChangeLog: * gcc.target/i386/pr114396.c: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions