diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2022-11-07 14:35:08 +0000 |
---|---|---|
committer | Andrew Carlotti <andrew.carlotti@arm.com> | 2022-11-21 16:00:51 +0000 |
commit | 2aec4088835ae5996ef818b326a0ff133307dbc5 (patch) | |
tree | ae61e5cda81a5165b736fea2cedbb4a923b688a4 /libcpp | |
parent | eea52e38dd81b6632546b7cf933479986c972c69 (diff) | |
download | gcc-2aec4088835ae5996ef818b326a0ff133307dbc5.zip gcc-2aec4088835ae5996ef818b326a0ff133307dbc5.tar.gz gcc-2aec4088835ae5996ef818b326a0ff133307dbc5.tar.bz2 |
Modify test, to prevent the next patch breaking it
The upcoming c[lt]z idiom recognition patch eliminates the need for a
brute force computation of the iteration count of these loops. The test
is intended to verify that ivcanon can determine the loop count when the
condition is given by a chain of constant computations.
We replace the constant operations with a more complicated chain that should
resist future idiom recognition.
gcc/testsuite/ChangeLog:
* gcc.dg/pr77975.c: Make tests more robust.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions