[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:19:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83565
--- Comment #34 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Jan 12 10:18:24 2018
New Revision: 256572
URL: https://gcc.gnu.org/viewcvs?rev=256572&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:
trunk/gcc/testsuite/gcc.c-torture/execute/20180112-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/rtlanal.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list