aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pointer-counted-by-4-void.c
diff options
context:
space:
mode:
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>2025-10-27 16:20:40 -0700
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>2025-10-30 23:37:18 -0700
commita4be88ef0f266950d575d94b9205cd26b8357199 (patch)
treecf1541dc93c1cad194571c04e74667efe69bcea4 /gcc/testsuite/gcc.dg/pointer-counted-by-4-void.c
parent127cd4064261868628b787a8abc3d9f9c8af14dc (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
fold: Remove div_if_zero_remainder [PR122437]HEADtrunkmaster
While looking into something related to fold-const.cc, I noticed that div_if_zero_remainder was unused. The last use of it was removed in r5-3374-gf65586dcd19846 (via the removal of try_move_mult_to_index), over 11 years ago. So it is time to remove this unused function too. Plus this function is just a small wrapper around wi::multiple_of_p but creating trees which can get expensive so folks should use wi::multiple_of_p directly instead. Bootstrapped and tested on x86_64-linux-gnu. PR tree-optimization/122437 gcc/ChangeLog: * fold-const.cc (div_if_zero_remainder): Remove. Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/pointer-counted-by-4-void.c')
0 files changed, 0 insertions, 0 deletions