Mercurial > hg > CbC > CbC_gcc
comparison 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 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do compile } */ | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fkeep-inline-functions -O" } */ | 2 /* { dg-options "-fkeep-inline-functions -O" } */ |
3 | 3 |
4 static inline __attribute__ ((const)) | 4 static inline __attribute__ ((const)) |
5 void baz (int i) | 5 int baz (int i) |
6 { | 6 { |
7 return i; | |
7 } | 8 } |
8 | 9 |
9 static __attribute__ ((always_inline)) | 10 static __attribute__ ((always_inline)) |
10 inline __attribute__ ((flatten)) | 11 inline __attribute__ ((flatten)) |
11 void bar (void) | 12 void bar (void) |