aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/strub-short-O2.c
blob: 9b23ee3ac33127afa55b32b0d1105e0ddd2f1d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -fstrub=strict -fno-exceptions -fdump-ipa-strub" } */
/* { dg-require-effective-target strub } */

/* Check that the expected strub calls are issued.  */

#include "torture/strub-callable1.c"

/* { dg-final { scan-ipa-dump-times "strub_enter" 45 "strub" } } */
/* { dg-final { scan-ipa-dump-times "strub_update" 4 "strub" } } */
/* { dg-final { scan-ipa-dump-times "strub_leave" 45 "strub" } } */