[Bug rtl-optimization/83565] [7/8 regression] RTL combine pass yields wrong rotate result
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 12 10:21:00 GMT 2018
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
More information about the Gcc-bugs
mailing list