Fixed precision-lossy cast to float.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Wed, 20 Oct 2010 19:54:34 +0000 (15:54 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Wed, 20 Oct 2010 19:54:34 +0000 (15:54 -0400)
src/aop-weave.c

index 7d089883ddc09a680a846f7a9fb5ce6a43e7fabc..c0e65d591e4c8eb69dcd982d0b90829d546afd82 100644 (file)
@@ -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;