This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/83565] [7/8 regression] RTL combine pass yields wrong rotate result
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Jan 2018 10:21:16 +0000
- Subject: [Bug rtl-optimization/83565] [7/8 regression] RTL combine pass yields wrong rotate result
- Auto-submitted: auto-generated
- References: <bug-83565-4@http.gcc.gnu.org/bugzilla/>
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