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