☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr10352-1.c
☽
☼
gcc/testsuite/gcc.c-torture/execute/pr10352-1.c
code
plain
raw
1
/* this is another case where phiopt
2
would create -signed1bit which is undefined. */
3
struct {
4
int a:1;
5
} b;
6
int *c = (int *)&b, d;
7
int main() {
8
d = c && (b.a = (d < 0) ^ 3);
9
if (d != 1)
10
__builtin_abort();
11
return 0;
12
}