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
* gcc.c-torture/execute/pr39339.c: Bitfield sizes changed to avoid padding.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000314-2.c
1
typedef unsigned long long uint64;
2
const uint64 bigconst = 1ULL << 34;
3
4
int a = 1;
5
6
static
7
uint64 getmask(void)
8
{
9
if (a)
10
return bigconst;
11
else
12
return 0;
13
}
14
15
main()
16
{
17
uint64 f = getmask();
18
if (sizeof (long long) == 8
19
&& f != bigconst) abort ();
20
exit (0);
21
}
22
23