Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/lto/chkp-privatize-2_0.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-lto-do link } */ |
2 /* { dg-require-effective-target mpx } */ | |
3 /* { dg-lto-options { { -Ofast -flto -fcheck-pointer-bounds -mmpx } } } */ | |
4 | |
5 static int | |
6 __attribute__ ((noinline)) | |
7 func1 (int i) | |
8 { | |
9 return i + 2; | |
10 } | |
11 | |
12 extern int func2 (int i); | |
13 | |
14 int | |
15 main (int argc, char **argv) | |
16 { | |
17 return func1 (argc) + func2 (argc) + 1; | |
18 } |