Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr78333.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do link } */ |
2 /* { dg-options "-finstrument-functions" } */ | |
3 | |
4 /* Add empty implementations of __cyg_profile_func_enter() and | |
5 __cyg_profile_func_exit() to avoid problems on non-glibc | |
6 systems. */ | |
7 void __attribute__((no_instrument_function)) | |
8 __cyg_profile_func_enter(void *this_fn, void *call_site) | |
9 { | |
10 } | |
11 | |
12 void __attribute__((no_instrument_function)) | |
13 __cyg_profile_func_exit(void *this_fn, void *call_site) | |
14 { | |
15 } | |
16 | |
17 extern inline __attribute__((gnu_inline, always_inline)) int foo () { } | |
18 int main() | |
19 { | |
20 foo (); | |
21 return 0; | |
22 } |