PR target/65217
* gcc.target/i386/pr65217.c: New.
From-SVN: r221010
+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.
--- /dev/null
+/* { 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;
+}