This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/83565] [7/8 regression] RTL combine pass yields wrong rotate result


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

--- Comment #35 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Jan 12 10:20:42 2018
New Revision: 256573

URL: https://gcc.gnu.org/viewcvs?rev=256573&root=gcc&view=rev
Log:
        PR rtl-optimization/83565
        * rtlanal.c (nonzero_bits1): On WORD_REGISTER_OPERATIONS machines, do
        not extend the result to a larger mode for rotate operations.
        (num_sign_bit_copies1): Likewise.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/20180112-1.c
      - copied unchanged from r256572,
trunk/gcc/testsuite/gcc.c-torture/execute/20180112-1.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/rtlanal.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]