From 5735741b128fecd49f45170b8a85e12ee7771371 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 27 Dec 2016 12:12:32 +0100 Subject: [PATCH] * gcc.target/i386/pr78904-2.c: Fix testcase. From-SVN: r243935 --- gcc/testsuite/gcc.target/i386/pr78904-2.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/pr78904-2.c b/gcc/testsuite/gcc.target/i386/pr78904-2.c index 03792b0242f..c7b161d6c80 100644 --- a/gcc/testsuite/gcc.target/i386/pr78904-2.c +++ b/gcc/testsuite/gcc.target/i386/pr78904-2.c @@ -11,34 +11,34 @@ struct S1 extern struct S1 t; -struct S1 test_and (struct S1 a, struct S1 b) +struct S1 test_and (struct S1 a) { - a.val &= b.val; + a.val &= t.val; return a; } /* { dg-final { scan-assembler "\[ \t\]andb\[^\n\r]*, %.h" } } */ -struct S1 test_or (struct S1 a, struct S1 b) +struct S1 test_or (struct S1 a) { - a.val |= b.val; + a.val |= t.val; return a; } /* { dg-final { scan-assembler "\[ \t\]orb\[^\n\r]*, %.h" } } */ -struct S1 test_xor (struct S1 a, struct S1 b) +struct S1 test_xor (struct S1 a) { - a.val ^= b.val; + a.val ^= t.val; return a; } /* { dg-final { scan-assembler "\[ \t\]xorb\[^\n\r]*, %.h" } } */ -struct S1 test_add (struct S1 a, struct S1 b) +struct S1 test_add (struct S1 a) { a.val += t.val; -- 2.30.2