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
/
pr33779-2.c
blob
16c34b63c71e1cac729794ce755afc7aec62796e
1
int
foo
(
int
i
)
2
{
3
return
((
int
)((
unsigned
)(
i
+
1
) *
4
)) /
4
;
4
}
5
6
extern
void
abort
(
void
);
7
int
main
()
8
{
9
if
(
foo
(
0x3fffffff
) !=
0
)
10
abort
();
11
return
0
;
12
}