Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
c7310bd4
Commit
c7310bd4
authored
Sep 17, 2007
by
Matthias Braun
Browse files
test for CSE moving flags into different block
[r15832]
parent
875db5fb
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/test/fehler78.c
0 → 100644
View file @
c7310bd4
/*$ -fno-inline $*/
#include
<stdio.h>
int
k
;
int
f
(
int
a
)
{
if
(
k
<
20
)
{
rand
();
return
a
<
5
?
10
:
20
;
}
else
{
return
a
<
5
?
20
:
0
;
}
}
int
main
(
void
)
{
k
=
21
;
printf
(
"Res: %d should be 0
\n
"
,
f
(
20
));
return
0
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment