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
[committed][RISC-V][PR target/114139] Verify we have a CONST_INT before extracting...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
loop-6.c
blob
d186c2b4200660a4223ebf7098102f53577dfa0b
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
int
5
main
(
void
)
6
{
7
char
c
;
8
char
d
;
9
int
nbits
;
10
c
= -
1
;
11
for
(
nbits
=
1
;
nbits
<
100
;
nbits
++) {
12
d
= (
1
<<
nbits
) -
1
;
13
if
(
d
==
c
)
14
break
;
15
}
16
if
(
nbits
==
100
)
17
abort
();
18
exit
(
0
);
19
}