Commit 5735741b by Uros Bizjak

* gcc.target/i386/pr78904-2.c: Fix testcase.

From-SVN: r243935
parent 6a2067ff
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment