* PR tree-optimization/71947
* gcc.dg/tree-ssa/pr71947-4.c: Avoid x86 opcode.
* gcc.dg/tree-ssa/pr71947-5.c: Likewise.
* gcc.dg/tree-ssa/pr71947-6.c: Make it opt-in rather than opt-out.
From-SVN: r241429
+2016-10-21 Jeff Law <law@redhat.com>
+
+ * PR tree-optimization/71947
+ * gcc.dg/tree-ssa/pr71947-4.c: Avoid x86 opcode.
+ * gcc.dg/tree-ssa/pr71947-5.c: Likewise.
+ * gcc.dg/tree-ssa/pr71947-6.c: Make it opt-in rather than opt-out.
+
2016-10-21 Kugan Vivekanandarajah <kuganv@linaro.org>
* gcc.dg/ipa/vrp5.c: New test.
static inline long load(long *p)
{
long ret;
- asm ("movq %1,%0\n\t" : "=r" (ret) : "m" (*p));
+ asm ("xyzzy %1,%0\n\t" : "=r" (ret) : "m" (*p));
if (ret != *p)
__builtin_unreachable();
return ret;
static inline long load(long *p)
{
long ret;
- asm ("movq %1,%0\n\t" : "=r" (ret) : "m" (*p));
+ asm ("xyzzy %1,%0\n\t" : "=r" (ret) : "m" (*p));
if (ret != *p)
__builtin_unreachable();
return ret;
-/* { dg-do compile } */
+/* This is highly dependent on branch costing, so make it opt-in. */
+/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-O2 -fno-tree-vrp -fdump-tree-dom-details" } */