projects
/
interaspect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abd1ff
)
Fixed precision-lossy cast to float.
author
Justin Seyster
<jseyster@cs.sunysb.edu>
Wed, 20 Oct 2010 19:54:34 +0000
(15:54 -0400)
committer
Justin Seyster
<jseyster@cs.sunysb.edu>
Wed, 20 Oct 2010 19:54:34 +0000
(15:54 -0400)
src/aop-weave.c
patch
|
blob
|
history
diff --git
a/src/aop-weave.c
b/src/aop-weave.c
index 7d089883ddc09a680a846f7a9fb5ce6a43e7fabc..c0e65d591e4c8eb69dcd982d0b90829d546afd82 100644
(file)
--- a/
src/aop-weave.c
+++ b/
src/aop-weave.c
@@
-264,7
+264,7
@@
build_gcc_call (const char *func_name, tree return_type,
tree new_arg;
const char *str_cst;
int int_cst;
-
float
float_cst;
+
double
float_cst;
char float_buf[25];
REAL_VALUE_TYPE r;
void *ptr_cst;