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
Fold ctz(-x) and ctz(abs(x)) as ctz(x) in match.pd.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20010106-1.c
blob
15ed1c13cb3341469835a1ecd0a753abc7c3ed94
1
/* Copyright 2001 Free Software Foundation
2
Contributed by Alexandre Oliva <aoliva@redhat.com> */
3
4
void
abort
(
void
);
5
void
exit
(
int
);
6
7
int
f
(
int
i
) {
8
switch
(
i
)
9
{
10
case
-
2
:
11
return
33
;
12
case
-
1
:
13
return
0
;
14
case
0
:
15
return
7
;
16
case
1
:
17
return
4
;
18
case
2
:
19
return
3
;
20
case
3
:
21
return
15
;
22
case
4
:
23
return
9
;
24
default
:
25
abort
();
26
}
27
}
28
29
int
main
() {
30
if
(
f
(-
1
))
31
abort
();
32
exit
(
0
);
33
}