OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* expr.c (highest_pow2_factor_for_type): Rename into
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040307-1.c
1
int main()
2
{
3
int b = 0;
4
5
struct {
6
unsigned int bit0:1;
7
unsigned int bit1:1;
8
unsigned int bit2:1;
9
unsigned int bit3:1;
10
unsigned int bit4:1;
11
unsigned int bit5:1;
12
unsigned int bit6:1;
13
unsigned int bit7:1;
14
unsigned int ubyte:24;
15
} sdata = {0x01};
16
17
while ( sdata.bit0-- > 0 ) {
18
b++ ;
19
if ( b > 100 ) break;
20
}
21
22
if (b != 1)
23
abort ();
24
return 0;
25
}
26