https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59974

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-06-09
             Status|UNCONFIRMED                 |NEW

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This should be submitted to the mailing lists for review.

Ideally, with copyright assignment from Stephen, or a DCO sign-off:
https://gcc.gnu.org/dco.html

If this is Stephen's first GCC contribution, then maybe we can accept it, as
it's only about 10 lines of logic.

I'd prefer if these changes were  guarded behind some #if check, so we don't
add unnecessary overhead on targets that don't need it. Or at the very least,
use __builtin_expect to predict that the branch for handling -1 is unlikely.

Reply via email to