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
/
20041210-1.c
blob
ef266a0a2e83dd7aa252e40f93e40e6df4ce4ba2
1
/* The FR-V port used to fail this test because the andcc patterns
2
wrongly claimed to set the C and V flags. */
3
#include <limits.h>
4
5
int
x
[
4
] = {
INT_MIN
/
2
,
INT_MAX
,
2
,
4
};
6
7
int
8
main
()
9
{
10
if
(
x
[
0
] <
x
[
1
])
11
if
((
x
[
2
] &
x
[
3
]) <
0
)
12
abort
();
13
exit
(
0
);
14
}