repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980602-2.c
blob
972553ed584c7659a382bd44b27ea38ee8fa6e6c
1
/* The bit-field below would have a problem if __INT_MAX__ is too
2
small. */
3
#if __INT_MAX__ < 2147483647
4
int
5
main
(
void
)
6
{
7
exit
(
0
);
8
}
9
#else
10
struct
{
11
unsigned
bit
:
30
;
12
}
t
;
13
14
int
main
()
15
{
16
if
(!(
t
.
bit
++))
17
exit
(
0
);
18
else
19
abort
();
20
}
21
#endif