https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124052
Bug ID: 124052
Summary: niter analysis does not handle & or | merged exit
conditions
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
bool
number_of_iterations_exit_assumptions (class loop *loop, edge exit,
class tree_niter_desc *niter,
gcond **at_stmt, bool every_iteration,
basic_block *body)
{
...
if (TREE_CODE (type) != INTEGER_TYPE
&& !POINTER_TYPE_P (type))
return false;