Commit 693ed633 by Rainer Orth Committed by Rainer Orth

jcf-dump.c (print_constant): Cast first frexp arg.

	gcc/java:
	* jcf-dump.c (print_constant): Cast first frexp arg.

	libjava:
	* exception.cc (std::abort): Remove static.

From-SVN: r177612
parent dcfd8753
2011-08-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* jcf-dump.c (print_constant): Cast first frexp arg.
2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS). * Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS).
......
...@@ -790,7 +790,7 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity) ...@@ -790,7 +790,7 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity)
/* Normal; add the implicit bit. */ /* Normal; add the implicit bit. */
mantissa |= ((uint32)1 << 23); mantissa |= ((uint32)1 << 23);
f = frexp (mantissa, &dummy); f = frexp ((float) mantissa, &dummy);
f = ldexp (f, exponent + 1); f = ldexp (f, exponent + 1);
fprintf (out, "%.10g", f); fprintf (out, "%.10g", f);
} }
...@@ -833,7 +833,7 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity) ...@@ -833,7 +833,7 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity)
/* Normal; add the implicit bit. */ /* Normal; add the implicit bit. */
mantissa |= ((uint64)1 << 52); mantissa |= ((uint64)1 << 52);
d = frexp (mantissa, &dummy); d = frexp ((double) mantissa, &dummy);
d = ldexp (d, exponent + 1); d = ldexp (d, exponent + 1);
fprintf (out, "%.20g", d); fprintf (out, "%.20g", d);
} }
......
2011-08-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* exception.cc (std::abort): Remove static.
2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (THREADS): Remove posix95. * configure.ac (THREADS): Remove posix95.
......
// Functions for Exception Support for Java. // 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. This file is part of libgcj.
...@@ -24,7 +25,7 @@ details. */ ...@@ -24,7 +25,7 @@ details. */
// stdlib.h's abort(). // stdlib.h's abort().
namespace std namespace std
{ {
static __attribute__ ((__noreturn__)) void __attribute__ ((__noreturn__)) void
abort () abort ()
{ {
::abort (); ::abort ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment