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
* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr46909-2.c
blob
33da2189c447a78e91235aa3d18021beefc0a3ca
1
/* PR tree-optimization/46909 */
2
3
extern
void
abort
(
void
);
4
5
int
6
__attribute__
((
noinline
))
7
foo
(
int
x
)
8
{
9
if
((
x
!=
0
&&
x
!=
13
) ||
x
==
5
||
x
==
20
)
10
return
1
;
11
return
-
1
;
12
}
13
14
int
15
main
(
void
)
16
{
17
int
i
;
18
for
(
i
= -
10
;
i
<
30
;
i
++)
19
if
(
foo
(
i
) !=
1
-
2
* (
i
==
0
) -
2
* (
i
==
13
))
20
abort
();
21
return
0
;
22
}