OSDN Git Service

2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
index 5e0c762..82f9338 100644 (file)
@@ -1,3 +1,63 @@
+2011-02-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/47567
+       * io/write_float.def (output_float): Eliminate some redundant code.
+       Adjust width for case of F0.X for values of zero and all other values.
+       Expand cases where '*' is set to give cleaner results.
+
+2011-02-05  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR libfortran/47571
+       * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
+       (weak_gettime): Likewise.
+       (gf_gettime): Change API, move weak_gettime() usage to
+       system_clock.c
+       * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
+       (gf_gettime_mono): New function.
+       (system_clock_4): Use gf_gettime_mono().
+       (system_clock_8): Likewise.
+       * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
+       usage.
+
+2011-02-02  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR libfortran/47571
+       * configure: Regenerated.
+       * configure.ac: Don't add librt to LIBS.
+       * intrinsics/time_1.h (weak_gettime): Weakref trickery for
+       clock_gettime().
+       (gf_gettime): Use weak_gettime() instead of clock_gettime().
+
+2011-02-01  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * intrinsics/time_1.h: Include errno.h needed by fallbacks.
+
+2011-01-31  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
+
+2011-01-31  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * configure.ac: Check for clock_gettime().
+       * configure: Regenerated.
+       * config.h.in: Regenerated.
+       * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
+       times() fallback.
+       (gf_gettime): New function.
+       * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
+       * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
+       * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
+       * intrinsics/etime.c (etime_sub): Use gf_cputime.
+       * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
+       (system_clock_8): Use gf_gettime, increase count rate to allow
+       nanosecond precision, remove overflow prone branch.
+
+2011-01-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/47434
+       * io/write_float.def (write_infnan): Use calculate_sign to determine
+       if the sign should be given and check field widths accordingly.
+
 2011-01-29  Kai Tietz  <kai.tietz@onevision.com>
 
        * intrinsics/ctime.c (ctime_r): Improve implementation.
 2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libgfortran/47285
+       * io/write_float.def (write_infnan): Adjust processor selected width
+       to 3 if NaN.
+
+2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/47285
        * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
        the result to set the padding.