Go to file
Janne Blomqvist 37b659dd29 re PR libfortran/52434 (Insufficient number of digits in floating point formatting)
2012-03-15  Janne Blomqvist  <jb@gcc.gnu.org>

        PR libfortran/52434
        PR libfortran/48878
        PR libfortran/38199
        * io/unit.c (get_internal_unit): Default to ROUND_UNSPECIFIED.
        (init_units): Likewise.
        * io/write_float.def (determine_precision): New function.
        (output_float): Take into account buffer with %f format, no need
        for our own rounding if unspecified or processor specified
        rounding.
        (DTOA): Simplify format string, add parameters.
        (FDTOA): New macros similar to DTOA, but using %f format.
        (OUTPUT_FLOAT_FMT_G): Stack allocate newf, determine correct
        precision and fill buffer.
        (EN_PREC): New macro.
        (determine_en_precision): New function.
        (WRITE_FLOAT): For G format, move buffer filling into
        output_float_FMT_G, use FDTOA for F format.
        (write_float): Increase buffer due to F format.

testsuite ChangeLog:

2012-03-15  Janne Blomqvist  <jb@gcc.gnu.org>

        PR libfortran/52434
        PR libfortran/48878
        PR libfortran/38199
        * gfortran.dg/edit_real_1.f90: Don't assume roundTiesToAway.
        * gfortran.dg/round_1.f03: Likewise.

From-SVN: r185433
2012-03-15 17:14:43 +02:00
boehm-gc Fix changelog format. 2012-02-28 18:02:56 +00:00
config Remove obsolete Tru64 UNIX V5.1B support 2012-03-12 15:35:56 +00:00
contrib Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
fixincludes README (EXAMPLES OF FIXES): Update. 2012-03-15 08:50:41 +00:00
gcc re PR libfortran/52434 (Insufficient number of digits in floating point formatting) 2012-03-15 17:14:43 +02:00
gnattools Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
include
INSTALL
intl
libada Makefile.in (bindir): Import from autoconf and pass down to submake. 2012-02-24 16:17:01 +00:00
libcpp Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
libdecnumber
libffi ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test, just return FFI_BAD_ABI when things are wrong. 2012-03-13 22:50:16 +00:00
libgcc Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
libgfortran re PR libfortran/52434 (Insufficient number of digits in floating point formatting) 2012-03-15 17:14:43 +02:00
libgo libgo: Export {enter,exit}syscall and use it for getaddrinfo. 2012-03-13 23:01:30 +00:00
libgomp Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
libiberty cp-demangle.c (cplus_demangle_operators): Add li. 2012-03-07 18:19:06 -05:00
libitm Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
libjava Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
libmudflap
libobjc Remove obsolete Tru64 UNIX V5.1B support 2012-03-12 15:35:56 +00:00
libquadmath
libssp
libstdc++-v3 Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
lto-plugin
maintainer-scripts crontab: Remove 4.4 branch from the list of snapshots to make. 2012-03-13 13:19:12 +01:00
zlib 2012-03-02 Matthias Klose <doko@ubuntu.com> 2012-03-02 17:15:20 +00:00
ABOUT-NLS
ChangeLog Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
configure.ac Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.