Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr44964.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fkeep-inline-functions -O" } */ | |
3 | |
4 static inline __attribute__ ((const)) | |
131 | 5 int baz (int i) |
111 | 6 { |
131 | 7 return i; |
111 | 8 } |
9 | |
10 static __attribute__ ((always_inline)) | |
11 inline __attribute__ ((flatten)) | |
12 void bar (void) | |
13 { | |
14 baz (0); | |
15 } | |
16 | |
17 void | |
18 foo (void) | |
19 { | |
20 bar (); | |
21 } | |
22 |