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
2ecb396f
Commit
2ecb396f
authored
Sep 11, 2007
by
Christoph Mallon
Browse files
fehler76: assertion when converting float constant to int
fix source of fehler74 and fehler75. [r15740]
parent
72e89dd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/be/test/fehler74.c
View file @
2ecb396f
/*$ -std=c99 $*/
#include
<stdio.h>
#include
<stdio.h>
#include
<math.h>
#include
<math.h>
...
...
ir/be/test/fehler75.c
View file @
2ecb396f
...
@@ -8,4 +8,5 @@ long long k(long long a)
...
@@ -8,4 +8,5 @@ long long k(long long a)
int
main
(
void
)
int
main
(
void
)
{
{
printf
(
"%lld
\n
"
,
k
(
0x80000000LL
));
printf
(
"%lld
\n
"
,
k
(
0x80000000LL
));
return
0
;
}
}
ir/be/test/fehler76.c
0 → 100644
View file @
2ecb396f
int
main
(
void
)
{
float
f
=
1223432e3
;
long
l
=
f
;
printf
(
"long %ld float %f
\n
"
,
l
,
f
);
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