re PR tree-optimization/15256 ([tree-ssa] Optimize manual bitfield manipilation.)

2016-06-29  Richard Biener  <rguenther@suse.de>

	PR middle-end/15256
	* gcc.dg/tree-ssa/forwprop-34.c: New testcase.

From-SVN: r237852
This commit is contained in:
Richard Biener 2016-06-29 13:48:39 +00:00 committed by Richard Biener
parent d4407370d9
commit b1206d294a
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-06-29 Richard Biener <rguenther@suse.de>
PR middle-end/15256
* gcc.dg/tree-ssa/forwprop-34.c: New testcase.
2016-06-29 Matthew Wahab <matthew.wahab@arm.com>
* gcc.target/arm/aapcs/neon-vect10.c: Require

View File

@ -0,0 +1,15 @@
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-cddce1" } */
unsigned int
foo (unsigned int eax)
{
unsigned int edx = eax & 1;
edx ^= 1;
eax &= -2;
eax |= edx;
return eax;
}
/* { dg-final { scan-tree-dump-times " = " 1 "cddce1" } } */
/* { dg-final { scan-tree-dump " = eax_\[0-9\]+\\(D\\) \\^ 1;" "cddce1" } } */