[Bug tree-optimization/93118] >>32<<32 is not always converted into &~0ffffffffull at the tree level
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 7 10:03:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93118
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 7 10:03:07 2020
New Revision: 279950
URL: https://gcc.gnu.org/viewcvs?rev=279950&root=gcc&view=rev
Log:
PR tree-optimization/93118
* match.pd ((x >> c) << c -> x & (-1<<c)): Add nop_convert?. Add new
simplifier with two intermediate conversions.
* gcc.dg/tree-ssa/pr93118.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr93118.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list