[Bug rtl-optimization/85925] [7/8/9 regression] compilation of masking with 257 goes wrong in combine at -02
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 09:00:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925
--- Comment #20 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Nov 20 08:59:30 2018
New Revision: 266302
URL: https://gcc.gnu.org/viewcvs?rev=266302&root=gcc&view=rev
Log:
PR rtl-optimization/85925
* rtl.h (word_register_operation_p): New predicate.
* combine.c (record_dead_and_set_regs_1): Only apply specific handling
for WORD_REGISTER_OPERATIONS targets to word_register_operation_p RTX.
* rtlanal.c (nonzero_bits1): Likewise. Adjust couple of comments.
(num_sign_bit_copies1): Likewise.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/20181120-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/rtl.h
trunk/gcc/rtlanal.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list