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
/
pr31605.c
blob
12a57ac1ea68a28835c8b8e90c632d8b6c7901e0
1
void
put_field
(
unsigned int
start
,
unsigned int
len
)
2
{
3
int
cur_bitshift
= ((
start
+
len
) %
8
) -
8
;
4
if
(
cur_bitshift
> -
8
)
5
exit
(
0
);
6
}
7
8
int
9
main
()
10
{
11
put_field
(
0
,
1
);
12
abort
();
13
}