2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / stack-check-11.c
blob90ab6023b422f57d1562f3fb2780393f1477d669
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic" } */
3 /* { dg-require-effective-target supports_stack_clash_protection } */
5 #include <stdint.h>
7 extern void arf (uint64_t *, uint64_t *);
8 void
9 frob ()
11 uint64_t num[859];
12 uint64_t den[859];
13 arf (den, num);
16 /* { dg-final { scan-assembler-times "sub\[ql\]" 4 } } */
17 /* { dg-final { scan-assembler-times "or\[ql\]" 3 } } */