Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/torture/pr86066.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* PR tree-optimization/86066 */ | |
2 /* Testcase by Zhendong Su <Zhendong Su> */ | |
3 | |
4 struct A | |
5 { | |
6 int b:2; | |
7 int c:2; | |
8 unsigned d:8; | |
9 }; | |
10 | |
11 int main () | |
12 { | |
13 struct A t = { 0, 0, 2 }; | |
14 L: | |
15 t.d = ~(~(~0 % t.d) % 2); | |
16 if (!t.d) | |
17 goto L; | |
18 return 0; | |
19 } |