gcc/testsuite/gcc.dg/torture/pr83055.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-fprofile-generate" } */ |
| 3 | /* { dg-require-effective-target global_constructor } */ |
| 4 | |
| 5 | void __attribute__ ((__cold__)) a (void); |
| 6 | void b (void); |
| 7 | void __attribute__ ((noinline)) c (void) { a (); } |
| 8 | |
| 9 | void |
| 10 | d (void) |
| 11 | { |
| 12 | b (); |
| 13 | c (); |
| 14 | } |