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

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilson at gcc dot gnu.org

--- Comment #11 from Jim Wilson <wilson at gcc dot gnu.org> ---
There is another testcase in 66271.

The LSR is emitted because the arm port has PROMOTE_MODE defined to make chars
and shorts unsigned when extended to int.  So the problem seems to be why it
wasn't re-sign-extended before the compare.  Maybe an optimization pass
incorrectly deleted that sign-extend.

Reply via email to