mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
dcfd875366
commit
693ed63381
|
|
@ -1,3 +1,7 @@
|
||||||
|
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)
|
||||||
/* 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)
|
||||||
/* 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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
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.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
// 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. */
|
||||||
// stdlib.h's abort().
|
// stdlib.h's abort().
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
static __attribute__ ((__noreturn__)) void
|
__attribute__ ((__noreturn__)) void
|
||||||
abort ()
|
abort ()
|
||||||
{
|
{
|
||||||
::abort ();
|
::abort ();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue