gcc/testsuite/gcc.target/i386/stackalign/pr88483-2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -mavx512f -fno-stack-protector" } */ |
| 3 | |
| 4 | struct B |
| 5 | { |
| 6 | char a[12]; |
| 7 | int b; |
| 8 | }; |
| 9 | |
| 10 | struct B |
| 11 | f2 (void) |
| 12 | { |
| 13 | struct B x = {}; |
| 14 | return x; |
| 15 | } |
| 16 | |
| 17 | /* { dg-final { scan-assembler-not "(sub|add)(l|q)\[\\t \]*\\$\[0-9\]*,\[\\t \]*%\[re\]?sp" } } */ |
| 18 | /* { dg-final { scan-assembler-not "and\[lq\]?\[^\\n\]*-\[0-9\]+,\[^\\n\]*sp" } } */ |