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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>val <= scores[pos] && pos < num

Swap these and you will get correct behavior.

Reply via email to