Debian Codegraph @

gcc/testsuite/c-c++-common/strub-relaxed2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fstrub=relaxed -fdump-ipa-strubm -fdump-ipa-strub" } */
3 /* { dg-require-effective-target strub } */
4
5 /* The difference between relaxed and strict in this case is that we accept the
6 call from one internal-strub function to another. */
7
8 #include "strub-strict2.c"
9
10 /* { dg-final { scan-ipa-dump-times "strub \[(\]" 2 "strubm" } } */
11 /* { dg-final { scan-ipa-dump-times "strub \[(\]internal\[)\]" 2 "strubm" } } */
12
13 /* { dg-final { scan-ipa-dump-times "strub \[(\]" 4 "strub" } } */
14 /* { dg-final { scan-ipa-dump-times "strub \[(\]wrapped\[)\]" 2 "strub" } } */
15 /* { dg-final { scan-ipa-dump-times "strub \[(\]wrapper\[)\]" 2 "strub" } } */