aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/strub-defer-O2.c
blob: 9e01949db6be9cd2ca42dff0af5dbafd49c9a14a (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do run } */
/* { dg-options "-fstrub=strict -O2" } */
/* { dg-require-effective-target strub } */

/* Check that a strub function called by another strub function does NOT defer
   the strubbing to its caller at -O2.  */

#define EXPECT_DEFERRAL !
#include "strub-defer-O3.c"