gcc/testsuite/c-c++-common/strub-short-O2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -fstrub=strict -fno-exceptions -fdump-ipa-strub" } */ |
| 3 | /* { dg-require-effective-target strub } */ |
| 4 | |
| 5 | /* Check that the expected strub calls are issued. */ |
| 6 | |
| 7 | #include "torture/strub-callable1.c" |
| 8 | |
| 9 | /* { dg-final { scan-ipa-dump-times "strub_enter" 45 "strub" } } */ |
| 10 | /* { dg-final { scan-ipa-dump-times "strub_update" 4 "strub" } } */ |
| 11 | /* { dg-final { scan-ipa-dump-times "strub_leave" 45 "strub" } } */ |