Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr79255.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 /* PR bootstrap/79255 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -g -fno-toplevel-reorder -Wno-attributes" } */ | |
4 | |
5 static inline __attribute__((always_inline)) int foo (int x); | |
6 | |
7 int | |
8 baz (void) | |
9 { | |
10 return foo (3) + foo (6) + foo (9); | |
11 } | |
12 | |
13 static inline __attribute__((always_inline)) int | |
14 foo (int x) | |
15 { | |
16 auto inline int __attribute__((noinline)) bar (int x) | |
17 { | |
18 return x + 3; | |
19 } | |
20 return bar (x) + bar (x + 2); | |
21 } |