ipa-* still works on legacy value_range's which only support
integrals. This patch limits the query to integrals, as to not get a
floating point range that can't exist in an irange.
gcc/ChangeLog:
* ipa-prop.cc (ipa_compute_jump_functions_for_edge): Limit ranger
query to integrals.
{
if (TREE_CODE (arg) == SSA_NAME
&& param_type
+ /* Limit the ranger query to integral types as the rest
+ of this file uses value_range's, which only hold
+ integers and pointers. */
+ && irange::supports_p (TREE_TYPE (arg))
&& get_range_query (cfun)->range_of_expr (vr, arg)
&& !vr.undefined_p ())
{