@@ -790,7 +790,7 @@ print_constant (FILE *out, JCF *jcf, int
/* Normal; add the implicit bit. */
mantissa |= ((uint32)1 << 23);
- f = frexp (mantissa, &dummy);
+ f = frexp ((float) mantissa, &dummy);
f = ldexp (f, exponent + 1);
fprintf (out, "%.10g", f);
}
@@ -833,7 +833,7 @@ print_constant (FILE *out, JCF *jcf, int
/* Normal; add the implicit bit. */
mantissa |= ((uint64)1 << 52);
- d = frexp (mantissa, &dummy);
+ d = frexp ((double) mantissa, &dummy);
d = ldexp (d, exponent + 1);
fprintf (out, "%.20g", d);
}
@@ -1,6 +1,7 @@
// Functions for Exception Support for Java.
-/* Copyright (C) 1998, 1999, 2001, 2002, 2006, 2010 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2001, 2002, 2006, 2010, 2011
+ Free Software Foundation
This file is part of libgcj.
@@ -24,7 +25,7 @@ details. */
// stdlib.h's abort().
namespace std
{
- static __attribute__ ((__noreturn__)) void
+ __attribute__ ((__noreturn__)) void
abort ()
{
::abort ();