fold-const.cc: Remove strict_overflow_p from tree_expr_nonnegative helpers
The compiler removes the `strict_overflow_p` flag from helper functions used by `tree_expr_nonnegative`, further simplifying the code.
The compiler removes the strict_overflow_p flag from several helper functions used by tree_expr_nonnegative_warnv_p. This is part of an effort to remove fold_overflow_warn() calls. The strict_overflow_p argument in tree_expr_nonnegative_warnv_p is marked as unused in this commit and functions are renamed to reflect that they no longer handle warnings.
In Details
This commit continues refactoring efforts within fold-const.cc, specifically targeting the removal of strict_overflow_p from helper functions associated with tree_expr_nonnegative_warnv_p. Functions like tree_call_nonnegative_warnv_p and tree_invalid_nonnegative_warnv_p are renamed and modified to remove the flag. Similar changes are made in gimple-fold.cc.
For Context
As part of constant folding, compilers may check whether expressions are non-negative. This commit focuses on removing a flag related to strict overflow checking from helper functions used in this process. The changes streamline the code and prepare for the complete removal of overflow warning generation in this area.