Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr78967-1a.c

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