when compiling gimple-range-op.cc, clang issues warning:
gimple-range-op.cc:1419:18: warning: comparison of different enumeration types in switch statement ('combined_fn' and 'built_in_function') [-Wenum-compare-switch]
which I hope is harmless, but all other switch cases use CFN_ prefixed
constants, so I guess the ISINF case should too.
gcc/ChangeLog:
2025-06-23 Martin Jambor <mjambor@suse.cz>
* gimple-range-op.cc
(gimple_range_op_handler::maybe_builtin_call): Use
CFN_BUILT_IN_ISINF instead of BUILT_IN_ISINF.
m_operator = &op_cfn_signbit;
break;
- CASE_FLT_FN (BUILT_IN_ISINF):
+ CASE_FLT_FN (CFN_BUILT_IN_ISINF):
m_op1 = gimple_call_arg (call, 0);
m_operator = &op_cfn_isinf;
break;