[Bug rtl-optimization/81020] [6/7/8 Regression] wrong code with -O -fno-tree-bit-ccp -fno-tree-coalesce-vars -fno-tree-vrp
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 27 17:42:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81020
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This was fixed with r254875. Before that combine was throwing away the masking
by 1 and testing against 0, effectively replacing the
u32_1 &= 1;
u32_0 |= 0 < u32_1;
with
u32_0 |= u32_1;
I'll add the testcase and close.
More information about the Gcc-bugs
mailing list