1 /* { dg-do compile } */
2 /* { dg-options "-Os -fstrub=strict -fno-exceptions -fdump-ipa-strub" } */
3 /* { dg-require-effective-target strub } */
5 /* Check that the expected strub calls are issued. At -O3 and -Os, we omit
6 enter and leave calls within strub contexts, passing on the enclosing
9 #include "torture/strub-callable1.c"
11 /* { dg-final { scan-ipa-dump-times "strub_enter" 15 "strub" } } */
12 /* { dg-final { scan-ipa-dump-times "strub_update" 4 "strub" } } */
13 /* { dg-final { scan-ipa-dump-times "strub_leave" 15 "strub" } } */