Message ID | 3080506.aIK83GraIe@polaris |
---|---|
State | New |
Headers | show |
Series | [Ada] Fix incomplete narrowing FP conversion for Machine_Overflows | expand |
Index: gcc-interface/trans.c =================================================================== --- gcc-interface/trans.c (revision 258231) +++ gcc-interface/trans.c (working copy) @@ -9381,7 +9381,7 @@ convert_with_check (Entity_Id gnat_type, ? tree_int_cst_lt (gnu_out_ub, gnu_in_ub) : (FLOAT_TYPE_P (gnu_base_type) ? real_less (&TREE_REAL_CST (gnu_out_ub), - &TREE_REAL_CST (gnu_in_lb)) + &TREE_REAL_CST (gnu_in_ub)) : 1)) gnu_cond = build_binary_op (TRUTH_ORIF_EXPR, boolean_type_node, gnu_cond,