This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242414 - in /trunk/gcc: ChangeLog combine.c te...
- From: matz at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 15 Nov 2016 14:02:29 -0000
- Subject: r242414 - in /trunk/gcc: ChangeLog combine.c te...
Author: matz
Date: Tue Nov 15 14:02:28 2016
New Revision: 242414
URL: https://gcc.gnu.org/viewcvs?rev=242414&root=gcc&view=rev
Log:
PR missed-optimization/77881
* combine.c (simplify_comparison): Remove useless subregs
also inside the loop, not just after it.
(make_compound_operation): Recognize some subregs as being
masking as well.
testsuite/
* gcc.target/i386/pr77881.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr77881.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog