Add a testcase for PR target/65217
PR target/65217 * gcc.target/i386/pr65217.c: New. From-SVN: r221010
This commit is contained in:
parent
b5cdc3eb1d
commit
e5d0da7fe3
@ -1,3 +1,8 @@
|
||||
2015-02-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/65217
|
||||
* gcc.target/i386/pr65217.c: New.
|
||||
|
||||
2015-02-26 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* lib/dg-pch.exp (pch-init): Add missing cleanup of pchtest<n>.o.
|
||||
|
12
gcc/testsuite/gcc.target/i386/pr65217.c
Normal file
12
gcc/testsuite/gcc.target/i386/pr65217.c
Normal file
@ -0,0 +1,12 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O" } */
|
||||
/* { dg-final { scan-assembler-not "negl" } } */
|
||||
/* { dg-final { scan-assembler-not "andl" } } */
|
||||
|
||||
int
|
||||
test(int n)
|
||||
{
|
||||
if ((n & -n) != n)
|
||||
__builtin_unreachable();
|
||||
return n;
|
||||
}
|
Loading…
Reference in New Issue
Block a user