mirror of git://gcc.gnu.org/git/gcc.git
Add a testcase for PR target/66821
PR target/66821 * gcc.target/i386/pr66821.c: New test. From-SVN: r227133
This commit is contained in:
parent
03541b0d44
commit
76eed9d920
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-08-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR target/66821
|
||||||
|
* gcc.target/i386/pr66821.c: New test.
|
||||||
|
|
||||||
2015-08-24 H.J. Lu <hongjiu.lu@intel.com>
|
2015-08-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR target/67329
|
PR target/67329
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
/* { dg-do compile { target ia32 } } */
|
||||||
|
/* { dg-options "-O2 -fdump-tree-optimized -mtune=iamcu" } */
|
||||||
|
|
||||||
|
void bar (void);
|
||||||
|
|
||||||
|
void
|
||||||
|
foo (int x)
|
||||||
|
{
|
||||||
|
if (x != 2 && x != 3 && x != 10 && x != 11 && x != 17 && x != 18 && x != 23)
|
||||||
|
bar ();
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Check if the tests have been folded into a bit test. */
|
||||||
|
/* { dg-final { scan-tree-dump "(8784908|0x0*860c0c)" "optimized" } } */
|
||||||
|
/* { dg-final { scan-tree-dump "(<<|>>)" "optimized" } } */
|
||||||
Loading…
Reference in New Issue