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
576cce6d
Commit
576cce6d
authored
Aug 28, 2007
by
Christoph Mallon
Browse files
fehler72: wrong conversion from unsigned int to long long.
[r15614]
parent
a70660f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/test/fehler72.c
0 → 100644
View file @
576cce6d
/*$ -fno-inline $*/
#include
<stdio.h>
unsigned
f
(
unsigned
a
,
unsigned
b
)
{
return
(
long
long
)
a
*
b
>>
16
;
}
int
main
(
void
)
{
printf
(
"%X
\n
"
,
f
(
0xFFFFFFFF
,
1
));
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