Remove incorrect asserts.
commit7b3ac57852052822e3845bcd8d50b83d7724dfde
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 13 Feb 2024 15:07:11 +0000 (13 10:07 -0500)
committerAndrew MacLeod <amacleod@redhat.com>
Tue, 30 Apr 2024 21:19:58 +0000 (30 17:19 -0400)
tree59aec9438aea4be3a444099b613163539a2416a7
parent39fe620963b29e7bdc8dcfa2037490df26b4edf2
Remove incorrect asserts.

Gimple_range_op handles builtin functions, and a couple of asserts that
are in place are incorrect in this context, so just remove them.

* gimple-range-op.cc (gimple_range_op_handler::calc_op1): Don't
assert that here are less than 3 operands.
(gimple_range_op_handler::maybe_builtin_call): Simply return if
there is no type for the function call.
gcc/gimple-range-op.cc