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:
parent
d4407370d9
commit
b1206d294a
@ -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
|
||||
|
15
gcc/testsuite/gcc.dg/tree-ssa/forwprop-34.c
Normal file
15
gcc/testsuite/gcc.dg/tree-ssa/forwprop-34.c
Normal 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" } } */
|
Loading…
Reference in New Issue
Block a user