Merged trunk at revision 161680 into branch.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / extract-3.c
blob520bf3bb5579b7c0a22da25d3dcea51bd8022bd3
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=generic" } */
4 typedef struct
6 unsigned char c1;
7 unsigned char c2;
8 unsigned char c3;
9 unsigned char c4;
10 } foo_t;
12 int
13 #ifndef __x86_64__
14 __attribute__((regparm(3)))
15 #endif
16 foo (foo_t x)
18 return x.c2 != 0;
21 /* { dg-final { scan-assembler-not "test\[b\]?\[^\\n\]*%\[a-z0-9\]+l" } } */