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
testsuite: Align testcase with implementation [PR105090]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20020611-1.c
blob
152ebd1de3c2e8b026ee3dc10bf73ded2fff70b9
1
/* PR target/6997. Missing (set_attr "cc" "none") in sleu pattern in
2
cris.md. Testcase from hp@axis.com. */
3
4
void
abort
(
void
);
5
void
exit
(
int
);
6
7
int
p
;
8
int
k
;
9
unsigned int
n
;
10
11
void
x
()
12
{
13
unsigned int
h
;
14
15
h
=
n
<=
30
;
16
if
(
h
)
17
p
=
1
;
18
else
19
p
=
0
;
20
21
if
(
h
)
22
k
=
1
;
23
else
24
k
=
0
;
25
}
26
27
unsigned int
n
=
30
;
28
29
int
30
main
(
void
)
31
{
32
x
();
33
if
(
p
!=
1
||
k
!=
1
)
34
abort
();
35
exit
(
0
);
36
}