Debian Codegraph @

gcc/testsuite/gcc.target/i386/stack-check-11.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fno-stack-protector" } */
3 /* { dg-require-effective-target supports_stack_clash_protection } */
4
5 #include <stdint.h>
6
7 extern void arf (uint64_t *, uint64_t *);
8 void
9 frob ()
10 {
11 uint64_t num[859];
12 uint64_t den[859];
13 arf (den, num);
14 }
15
16 /* { dg-final { scan-assembler-times "sub\[ql\]" 4 } } */
17 /* { dg-final { scan-assembler-times "or\[ql\]" 3 } } */
18