aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJiufu Guo <guojiufu@linux.ibm.com>2022-01-21 17:03:50 +0800
committerguojiufu <guojiufu@linux.ibm.com>2022-01-24 17:07:16 +0800
commit634de54f9c421b7069865d0d7365ad97412f34bd (patch)
treed398f1d6b4825e4e11aec55ffa722846d230422d /gcc/config.gcc
parentadd6bb52e34f6036ace9f67ad8ad5b990adbc34a (diff)
downloadgcc-634de54f9c421b7069865d0d7365ad97412f34bd.zip
gcc-634de54f9c421b7069865d0d7365ad97412f34bd.tar.gz
gcc-634de54f9c421b7069865d0d7365ad97412f34bd.tar.bz2
Update the type of control.base after changed
This patch correct the type of niter->control.base, when it is updated as a PLUS expr. During build PLUS expr, the result type should align with the type of the operands. PR tree-optimization/102087 gcc/ChangeLog: * tree-ssa-loop-niter.cc (number_of_iterations_until_wrap): Correct PLUS result type. gcc/testsuite/ChangeLog: * gcc.dg/pr102087_1.c: New test.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions