aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr83055.c
blob: 93f54b7a0f108c6e74d5d23aba255667905a6d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-additional-options "-fprofile-generate" } */
/* { dg-require-effective-target global_constructor } */

void __attribute__ ((__cold__)) a (void);
void b (void);
void __attribute__ ((noinline)) c (void) { a (); }

void
d (void)
{
  b ();
  c ();
}