Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/const-high-part.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-require-effective-target int32plus } */ |
2 /* { dg-require-effective-target size32plus } */ | |
3 | |
4 char *buf; | |
5 int buflen; | |
6 | |
7 inline int | |
8 sub (int length) | |
9 { | |
10 if (length <= buflen) | |
11 buf[length] = '\0'; | |
12 return 0; | |
13 } | |
14 | |
15 int | |
16 sub2 (void) | |
17 { | |
18 return sub (0x7fffffff); | |
19 } |