Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr82142a.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mno-avx -msse2 -fasynchronous-unwind-tables -fdwarf2-cfi-asm" } */
3 /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
4 /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */
5
6 /*
7 **assignzero:
8 **.LFB0:
9 ** .cfi_startproc
10 ** pxor %xmm0, %xmm0
11 ** movups %xmm0, 32\(%(?:r|e)di\)
12 ** movups %xmm0, \(%(?:r|e)di\)
13 ** movups %xmm0, 16\(%(?:r|e)di\)
14 ** movups %xmm0, 44\(%(?:r|e)di\)
15 ** ret
16 **...
17 */
18
19 typedef struct
20 {
21 int a, b, c;
22 char j, k, k1;
23 int l, m, n[8];
24 char c1, c2;
25 } foo;
26
27 void
28 assignzero (foo *p)
29 {
30 foo tmp = {};
31 *p = tmp;
32 }