Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr78952-1.c

raw
1 /* PR target/78952 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -masm=att" } */
4 /* { dg-additional-options "-mregparm=3" { target ia32 } } */
5 /* { dg-final { scan-assembler-not "movsbl" } } */
6
7 struct S1
8 {
9 char pad1;
10 char val;
11 short pad2;
12 };
13
14 struct S1 foo (struct S1 a, struct S1 b)
15 {
16 a.val = b.val;
17
18 return a;
19 }
20
21 /* { dg-final { scan-assembler "\[ \t\]movb\[ \t\]+%.h, %.h" } } */