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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan  1 11:27:17 2018
New Revision: 256061

URL: https://gcc.gnu.org/viewcvs?rev=256061&root=gcc&view=rev
Log:
        PR middle-end/83623
        * expmed.c (expand_shift_1): For 2-byte rotates by BITS_PER_UNIT,
        check for bswap in mode rather than HImode and use that in expand_unop
        too.

        * gcc.dg/pr83623.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr83623.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/expmed.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to