Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr50161.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* PR middle-end/50161 */ |
2 /* { dg-do run } */ | |
3 /* { dg-options "-O2 -fno-tree-ter -funroll-loops" } */ | |
4 | |
5 extern void abort (void); | |
6 | |
7 int | |
8 main () | |
9 { | |
10 unsigned i; | |
11 unsigned long a[16]; | |
12 | |
13 for (i = 0; i < 16; i++) | |
14 a[i] = ~0UL; | |
15 | |
16 for (i = 0; i < 16; i++) | |
17 if (__builtin_popcountl (a[i]) != sizeof (a[i]) * 8) | |
18 abort (); | |
19 | |
20 return 0; | |
21 } |