1*81418a27Smrg2014-11-28 Bernd Schmidt <bernds@codesourcery.com> 2*81418a27Smrg 3*81418a27Smrg * Makefile.am (AM_CFLAGS): Add -DLIBGFOR_MINIMAL if LIBGFOR_MINIMAL. 4*81418a27Smrg (gfor_io_src, gfor_heper_src, gfor_src): Split into minimal and 5*81418a27Smrg always included sources. 6*81418a27Smrg * Makefile.in: Regenerate. 7*81418a27Smrg * configure.ac (LIBGFOR_MINIMAL): New AM_CONDITIONAL. 8*81418a27Smrg * configure: Regenerate. 9*81418a27Smrg * caf/single.c (caf_runtime_error): Don't print messages if 10*81418a27Smrg LIBGFOR_MINIMAL. 11*81418a27Smrg * runtime/compile_options.c (fatal_error_in_progress, 12*81418a27Smrg show_signal, backtrace_handler, maybe_find_addr2line): Guard with 13*81418a27Smrg !defined LIBGFOR_MINIMAL. 14*81418a27Smrg (set_options): Likewise for the backtrace code. 15*81418a27Smrg * runtime/minimal.c: New file. 16*81418a27Smrg 17*81418a27Smrg2014-11-25 Uros Bizjak <ubizjak@gmail.com> 18*81418a27Smrg 19*81418a27Smrg * intrinsics/env.c (getenv): Remove unused variable res_len. 20*81418a27Smrg 21*81418a27Smrg2014-11-24 John David Anglin <danglin@gcc.gnu.org> 22*81418a27Smrg 23*81418a27Smrg * configure.ac: Guard include of <ieeefp.h>. 24*81418a27Smrg * configure: Rebuilt. 25*81418a27Smrg 26*81418a27Smrg2014-11-21 H.J. Lu <hongjiu.lu@intel.com> 27*81418a27Smrg 28*81418a27Smrg PR bootstrap/63784 29*81418a27Smrg * configure: Regenerated. 30*81418a27Smrg 31*81418a27Smrg2014-11-16 Janne Blomqvist <jb@gcc.gnu.org> 32*81418a27Smrg 33*81418a27Smrg PR libfortran/60324 34*81418a27Smrg * intrinsics/random.c (kiss_size): Rename to KISS_SIZE, make it a 35*81418a27Smrg macro instead of a variable. 36*81418a27Smrg (random_seed_i4): Make seed correct size, remove assert, KISS_SIZE 37*81418a27Smrg related changes. 38*81418a27Smrg (random_seed_i8): KISS_SIZE related changes. 39*81418a27Smrg 40*81418a27Smrg2014-11-13 Marek Polacek <polacek@redhat.com> 41*81418a27Smrg 42*81418a27Smrg * intrinsics/access.c: Include <stdlib.h>. 43*81418a27Smrg * intrinsics/chdir.c: Likewise. 44*81418a27Smrg * intrinsics/chmod.c: Likewise. 45*81418a27Smrg * intrinsics/link.c: Likewise. 46*81418a27Smrg * intrinsics/perror.c: Likewise. 47*81418a27Smrg * intrinsics/rename.c: Likewise. 48*81418a27Smrg * intrinsics/symlnk.c: Likewise. 49*81418a27Smrg * intrinsics/unlink.c: Likewise. 50*81418a27Smrg 51*81418a27Smrg2014-11-13 Janne Blomqvist <jb@gcc.gnu.org> 52*81418a27Smrg 53*81418a27Smrg PR libfortran/60324 54*81418a27Smrg * configure: Regenerated. 55*81418a27Smrg * configure.ac (AM_CFLAGS): Add Werror=vla. 56*81418a27Smrg * libgfortran.h (gfc_alloca): Remove macro. 57*81418a27Smrg (fc_strdup_notrim): New prototype. 58*81418a27Smrg * intrinsics/access.c (access_func): Use fc_strdup rather than 59*81418a27Smrg stack allocation. 60*81418a27Smrg * intrinsics/chdir.c (chdir_i4_sub): Likewise. 61*81418a27Smrg (chdir_i8_sub): Likewise. 62*81418a27Smrg * intrinsics/chmod.c (chmod_internal): New function, move logic 63*81418a27Smrg here. 64*81418a27Smrg (chmod_func): Call chmod_internal. 65*81418a27Smrg * intrinsics/env.c (getenv): Use fc_strdup rather than stack 66*81418a27Smrg allocation. 67*81418a27Smrg (get_environment_variable_i4): Likewise. 68*81418a27Smrg * intrinsics/execute_command_line.c (execute_command_line): 69*81418a27Smrg Likewise. 70*81418a27Smrg * intrinsics/hostnm.c (hostnm_0): New function, use static buffer 71*81418a27Smrg rather than VLA. 72*81418a27Smrg (hostnm_i4_sub): Call hostnm_0. 73*81418a27Smrg (hostnm_i8_sub): Likewise. 74*81418a27Smrg (hostnm): Likewise. 75*81418a27Smrg * intrinsics/link.c (link_internal): New function, use fc_strdup 76*81418a27Smrg rather than stack allocation. 77*81418a27Smrg (link_i4_sub): Call link_internal. 78*81418a27Smrg (link_i8_sub): Likewise. 79*81418a27Smrg (link_i4): Likewise. 80*81418a27Smrg (link_i8): Likewise. 81*81418a27Smrg * intrinsics/perror.c (perror_sub): Use fc_strdup rather than 82*81418a27Smrg stack allocation. 83*81418a27Smrg * intrinsics/random.c (random_seed_i4): Use static buffer rather 84*81418a27Smrg than VLA, use _Static_assert to make sure it's big enough. 85*81418a27Smrg * intrinsics/rename.c (rename_internal): New function, use 86*81418a27Smrg fc_strdup rather than stack allocation. 87*81418a27Smrg (rename_i4_sub): Call rename_internal. 88*81418a27Smrg (rename_i8_sub): Likewise. 89*81418a27Smrg (rename_i4): Likewise. 90*81418a27Smrg (rename_i8): Likewise. 91*81418a27Smrg * intrinsics/stat.c (stat_i4_sub_0): Use fc_strdup rather than 92*81418a27Smrg stack allocation. 93*81418a27Smrg (stat_i8_sub_0): Likewise. 94*81418a27Smrg * intrinsics/symlink.c (symlnk_internal): New function, use 95*81418a27Smrg fc_strdup rather than stack allocation. 96*81418a27Smrg (symlnk_i4_sub): Call symlnk_internal. 97*81418a27Smrg (symlnk_i8_sub): Likewise. 98*81418a27Smrg (symlnk_i4): Likewise. 99*81418a27Smrg (symlnk_i8): Likewise. 100*81418a27Smrg * intrinsics/system.c (system_sub): Use fc_strdup rather than 101*81418a27Smrg stack allocation. 102*81418a27Smrg * intrinsics/unlink.c (unlink_i4_sub): Likewise. 103*81418a27Smrg * io/file_pos.c (READ_CHUNK): Make it a macro rather than variable. 104*81418a27Smrg * io/list_read.c (nml_get_obj_data): Use fixed stack buffer, fall 105*81418a27Smrg back to xmalloc/free for large sizes. 106*81418a27Smrg * io/read.c (read_f): Likewise. 107*81418a27Smrg * io/transfer.c (MAX_READ): Make it a macro rather than variable. 108*81418a27Smrg (WRITE_CHUNK): Likewise. 109*81418a27Smrg * io/write_float.def (write_float): Use fixed stack buffer, fall 110*81418a27Smrg back to xmalloc/free for large sizes. 111*81418a27Smrg * runtime/string.c (fc_strdup_notrim): New function. 112*81418a27Smrg 113*81418a27Smrg2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 114*81418a27Smrg 115*81418a27Smrg PR target/63610 116*81418a27Smrg * configure: Regenerate. 117*81418a27Smrg 118*81418a27Smrg2014-11-10 Janne Blomqvist <jb@gcc.gnu.org> 119*81418a27Smrg 120*81418a27Smrg PR libfortran/47007 121*81418a27Smrg PR libfortran/61847 122*81418a27Smrg * config.h.in: Regenerated. 123*81418a27Smrg * configure: Regenerated. 124*81418a27Smrg * configure.ac (AC_CHECK_HEADERS_ONCE): Check for xlocale.h. 125*81418a27Smrg (AC_CHECK_FUNCS_ONCE): Check for newlocale, freelocale, uselocale, 126*81418a27Smrg strerror_l. 127*81418a27Smrg * io/io.h (locale.h): Include. 128*81418a27Smrg (xlocale.h): Include if present. 129*81418a27Smrg (c_locale): New variable. 130*81418a27Smrg (old_locale): New variable. 131*81418a27Smrg (old_locale_ctr): New variable. 132*81418a27Smrg (old_locale_lock): New variable. 133*81418a27Smrg (st_parameter_dt): Add old_locale member. 134*81418a27Smrg * io/transfer.c (data_transfer_init): Set locale to "C" if doing 135*81418a27Smrg formatted transfer. 136*81418a27Smrg (finalize_transfer): Reset locale to previous. 137*81418a27Smrg * io/unit.c (c_locale): New variable. 138*81418a27Smrg (old_locale): New variable. 139*81418a27Smrg (old_locale_ctr): New variable. 140*81418a27Smrg (old_locale_lock): New variable. 141*81418a27Smrg (init_units): Init c_locale, init old_locale_lock. 142*81418a27Smrg (close_units): Free c_locale. 143*81418a27Smrg * runtime/error.c (locale.h): Include. 144*81418a27Smrg (xlocale.h): Include if present. 145*81418a27Smrg (gf_strerror): Use strerror_l if available. Reset locale to 146*81418a27Smrg LC_GLOBAL_LOCALE for strerror_r branch. 147*81418a27Smrg 148*81418a27Smrg2014-10-20 Janne Blomqvist <jb@gcc.gnu.org> 149*81418a27Smrg 150*81418a27Smrg PR libfortran/63589 151*81418a27Smrg * configure.ac: Check for strtok_r. 152*81418a27Smrg * runtime/main.c (gfstrtok_r): Fallback implementation of 153*81418a27Smrg strtok_r. 154*81418a27Smrg (find_addr2line): Use strtok_r to split PATH. 155*81418a27Smrg * config.h.in: Regenerated. 156*81418a27Smrg * configure: Regenerated. 157*81418a27Smrg 158*81418a27Smrg2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 159*81418a27Smrg 160*81418a27Smrg * ieee/ieee_helper.c (ieee_is_finite_*, ieee_is_nan_*, 161*81418a27Smrg ieee_is_negative_*, ieee_is_normal_*, ieee_copy_sign_*, 162*81418a27Smrg ieee_unordered_*, ieee_logb_*, ieee_rint_*, ieee_scalb_*, 163*81418a27Smrg ieee_rem_*, ieee_next_after_*): Remove functions. 164*81418a27Smrg * gfortran.map (GFORTRAN_1.5): Remove corresponding symbols. 165*81418a27Smrg 166*81418a27Smrg2014-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> 167*81418a27Smrg 168*81418a27Smrg PR libgfortran/63460 169*81418a27Smrg * io/unit.c (init_units): Initialize the DELIM flag to 170*81418a27Smrg UNSPECIFIED for the STDIN unit so that the flag is 171*81418a27Smrg correctly set later. 172*81418a27Smrg 173*81418a27Smrg2014-10-01 Janne Blomqvist <jb@gcc.gnu.org> 174*81418a27Smrg 175*81418a27Smrg * intrinsics/pack_generic.c (pack_s_internal): Fix 176*81418a27Smrg -Wmaybe-uninitialized warning. 177*81418a27Smrg * m4/unpack.m4 (unpack0_'rtype_code`): Likewise. 178*81418a27Smrg (unpack1_'rtype_code`): Likewise. 179*81418a27Smrg * generated/unpack_*.m4: Regenerated. 180*81418a27Smrg 181*81418a27Smrg2014-09-30 Janne Blomqvist <jb@gcc.gnu.org> 182*81418a27Smrg 183*81418a27Smrg * configure.ac (AM_CFLAGS): Add 184*81418a27Smrg -Werror=implicit-function-declaration. 185*81418a27Smrg * Makefile.in: Regenerated. 186*81418a27Smrg * aclocal.m4: Regenerated. 187*81418a27Smrg * configure: Regenerated. 188*81418a27Smrg 189*81418a27Smrg2014-09-25 Tobias Burnus <burnus@net-b.de> 190*81418a27Smrg 191*81418a27Smrg * caf/libcaf.h (_gfortran_caf_co_broadcast): New prototype. 192*81418a27Smrg * caf/single.c (_gfortran_caf_co_broadcast): New. 193*81418a27Smrg 194*81418a27Smrg2014-09-18 Janne Blomqvist <jb@gcc.gnu.org> 195*81418a27Smrg 196*81418a27Smrg PR libfortran/62768 197*81418a27Smrg * io/inquire.c (inquire_via_unit): Use gfc_unit.filename also when 198*81418a27Smrg HAVE_TTYNAME{_R} is not defined. 199*81418a27Smrg 200*81418a27Smrg2014-09-17 Janne Blomqvist <jb@gcc.gnu.org> 201*81418a27Smrg 202*81418a27Smrg PR libfortran/62768 203*81418a27Smrg * io/io.h (gfc_unit): Store C string for the filename. 204*81418a27Smrg * io/close.c (st_close): Use gfc_unit.filename. 205*81418a27Smrg * io/inquire.c (inquire_via_unit): Likewise. 206*81418a27Smrg * io/open.c (new_unit): Likewise. 207*81418a27Smrg (already_open): Likewise, unlink file before freeing filename. 208*81418a27Smrg * io/unit.c (init_units): Likewise. 209*81418a27Smrg (close_unit_1): Likewise. 210*81418a27Smrg (filename_from_unit): Likewise. 211*81418a27Smrg * io/unix.c (compare_file_filename): Likewise. 212*81418a27Smrg (find_file0): Likewise. 213*81418a27Smrg (delete_file): Likewise. 214*81418a27Smrg 215*81418a27Smrg2014-09-10 Janne Blomqvist <jb@gcc.gnu.org> 216*81418a27Smrg 217*81418a27Smrg * io/transfer.c (read_block_form): Fix pad status check (found by 218*81418a27Smrg Thomas Schwinge with -Wlogical-not-parentheses). 219*81418a27Smrg 220*81418a27Smrg2014-08-31 Tobias Burnus <burnus@net-b.de> 221*81418a27Smrg 222*81418a27Smrg * caf/libcaf.h (_gfortran_caf_send, _gfortran_caf_get, 223*81418a27Smrg _gfortran_caf_sendget): Update prototype. 224*81418a27Smrg * caf/single.c (_gfortran_caf_send, _gfortran_caf_get, 225*81418a27Smrg _gfortran_caf_sendget): Handle may_require_tmp. 226*81418a27Smrg 227*81418a27Smrg2014-08-20 Steven G. Kargl <kargl@gcc.gnu.org> 228*81418a27Smrg 229*81418a27Smrg PR libgfortran/62188 230*81418a27Smrg * m4/bessel.m4: Avoid indexing off the end of an array. 231*81418a27Smrg * generated/bessel_r10.c: Regenerated. 232*81418a27Smrg * generated/bessel_r16.c: Ditto. 233*81418a27Smrg * generated/bessel_r4.c: Ditto. 234*81418a27Smrg * generated/bessel_r8.c: Ditto. 235*81418a27Smrg 236*81418a27Smrg2014-08-14 Tobias Burnus <burnus@net-b.de> 237*81418a27Smrg 238*81418a27Smrg * caf/libcaf.h (caf_register_t): Update for critical. 239*81418a27Smrg (_gfortran_caf_critical, _gfortran_caf_end_critical): Remove. 240*81418a27Smrg (_gfortran_caf_lock, _gfortran_caf_unlock): Add. 241*81418a27Smrg * caf/single.c (_gfortran_caf_register): Handle locking 242*81418a27Smrg variables. 243*81418a27Smrg (_gfortran_caf_sendget): Re-name args for consistency. 244*81418a27Smrg (_gfortran_caf_lock, _gfortran_caf_unlock): Add. 245*81418a27Smrg 246*81418a27Smrg2014-08-04 Jakub Jelinek <jakub@redhat.com> 247*81418a27Smrg 248*81418a27Smrg * runtime/memory.c (xmallocarray): Avoid division for the common case. 249*81418a27Smrg 250*81418a27Smrg2014-07-20 Jerry DeLisle <jvdelisle@gcc.gnu.org> 251*81418a27Smrg 252*81418a27Smrg PR libgfortran/61632 253*81418a27Smrg * io/format.c (format_error): Avoid invalid string pointer by 254*81418a27Smrg using the fortran string length values to generate error string. 255*81418a27Smrg (parse_format): Allocate the null terminator for the format 256*81418a27Smrg string. 257*81418a27Smrg 258*81418a27Smrg2014-07-12 Tobias Burnus <burnus@net-b.de> 259*81418a27Smrg 260*81418a27Smrg * caf/libcaf.h (_gfortran_caf_atomic_define, 261*81418a27Smrg _gfortran_caf_atomic_ref, _gfortran_caf_atomic_op, 262*81418a27Smrg _gfortran_caf_atomic_cas): New prototypes. 263*81418a27Smrg * caf/single.c (_gfortran_caf_atomic_define, 264*81418a27Smrg _gfortran_caf_atomic_ref, _gfortran_caf_atomic_op, 265*81418a27Smrg _gfortran_caf_atomic_cas): New functions. 266*81418a27Smrg 267*81418a27Smrg2014-07-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 268*81418a27Smrg 269*81418a27Smrg * config/fpu-*.h (get_fpu_rounding_mode, set_fpu_rounding_mode, 270*81418a27Smrg support_fpu_rounding_mode): Clean up, mark unreachable code as such. 271*81418a27Smrg 272*81418a27Smrg2014-07-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 273*81418a27Smrg 274*81418a27Smrg * libgfortran.h (support_fpu_underflow_control, 275*81418a27Smrg get_fpu_underflow_mode, set_fpu_underflow_mode): New prototypes. 276*81418a27Smrg * config/fpu-*.h (support_fpu_underflow_control, 277*81418a27Smrg get_fpu_underflow_mode, set_fpu_underflow_mode): 278*81418a27Smrg New functions. 279*81418a27Smrg * ieee/ieee_arithmetic.F90: Support underflow control. 280*81418a27Smrg 281*81418a27Smrg2014-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 282*81418a27Smrg 283*81418a27Smrg * config/fpu-sysv.h (get_fpu_rounding_mode): Use FP_RN, FP_RP, 284*81418a27Smrg FP_RM, FP_RZ unconditionally. 285*81418a27Smrg (set_fpu_rounding_mode): Likewise. 286*81418a27Smrg 287*81418a27Smrg2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 288*81418a27Smrg 289*81418a27Smrg * libgfortran.h: Assume __GNUC__. 290*81418a27Smrg 291*81418a27Smrg2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 292*81418a27Smrg 293*81418a27Smrg * runtime/stop.c: Use C11 _Noreturn. 294*81418a27Smrg * libgfortran.h: Use C11 _Noreturn in prototypes. 295*81418a27Smrg Move REALPART, IMAGPART and COMPLEX_ASSIGN macros... 296*81418a27Smrg * intrinsics/c99_functions.c: ... here. 297*81418a27Smrg 298*81418a27Smrg2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 299*81418a27Smrg 300*81418a27Smrg * config/fpu-387.h, config/fpu-aix.h, config/fpu-sysv.h, 301*81418a27Smrg config/fpu-glibc.h: Use static assertions. 302*81418a27Smrg 303*81418a27Smrg2014-07-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 304*81418a27Smrg 305*81418a27Smrg * configure, config.h.in: Regenerate. 306*81418a27Smrg * config/fpu-sysv.h: Include <assert.h>. 307*81418a27Smrg 308*81418a27Smrg2014-07-02 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 309*81418a27Smrg 310*81418a27Smrg * config/fpu-glibc.h: Fix comment about FE_DENORMAL. 311*81418a27Smrg 312*81418a27Smrg2014-07-02 Uros Bizjak <ubizjak@gmail.com> 313*81418a27Smrg 314*81418a27Smrg * configure.host (ieee_flags): Add -mieee for alpha*. 315*81418a27Smrg 316*81418a27Smrg * config/fpu-glibc.h (support_fpu_rounding_mode): Correctly handle 317*81418a27Smrg GFC_FPE_UPWARD, GFC_FPE_DOWNWARD and GFC_FPE_TOWARDZERO. 318*81418a27Smrg * config/fpu-aix.h (support_fpu_rounding_mode): Ditto. 319*81418a27Smrg 320*81418a27Smrg2014-06-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 321*81418a27Smrg 322*81418a27Smrg * config/fpu-387.h (my_fenv_t): Amend structure so it also works 323*81418a27Smrg on mingw32. 324*81418a27Smrg 325*81418a27Smrg2014-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> 326*81418a27Smrg 327*81418a27Smrg PR libgfortran/61640 328*81418a27Smrg * io/list_read.c (next_char_internal): Adjust the read length to 329*81418a27Smrg a single wide character. (eat_spaces): Add missing paren. 330*81418a27Smrg * io/unix.c (mem_read4): Use the correct mem_alloc function for 331*81418a27Smrg wide character internal reads. 332*81418a27Smrg 333*81418a27Smrg2014-06-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 334*81418a27Smrg 335*81418a27Smrg PR fortran/29383 336*81418a27Smrg * configure.host: Add checks for IEEE support, rework priorities. 337*81418a27Smrg * configure.ac: Define IEEE_SUPPORT, check for fpsetsticky and 338*81418a27Smrg fpresetsticky. 339*81418a27Smrg * configure: Regenerate. 340*81418a27Smrg * Makefile.am: Build new ieee files, install IEEE_* modules. 341*81418a27Smrg * Makefile.in: Regenerate. 342*81418a27Smrg * gfortran.map (GFORTRAN_1.6): Add new symbols. 343*81418a27Smrg * libgfortran.h (get_fpu_trap_exceptions, set_fpu_trap_exceptions, 344*81418a27Smrg support_fpu_trap, set_fpu_except_flags, support_fpu_flag, 345*81418a27Smrg support_fpu_rounding_mode, get_fpu_state, set_fpu_state): New 346*81418a27Smrg prototypes. 347*81418a27Smrg * config/fpu-*.h (get_fpu_trap_exceptions, 348*81418a27Smrg set_fpu_trap_exceptions, support_fpu_trap, set_fpu_except_flags, 349*81418a27Smrg support_fpu_flag, support_fpu_rounding_mode, get_fpu_state, 350*81418a27Smrg set_fpu_state): New functions. 351*81418a27Smrg * ieee/ieee_features.F90: New file. 352*81418a27Smrg * ieee/ieee_exceptions.F90: New file. 353*81418a27Smrg * ieee/ieee_arithmetic.F90: New file. 354*81418a27Smrg * ieee/ieee_helper.c: New file. 355*81418a27Smrg 356*81418a27Smrg2014-06-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> 357*81418a27Smrg 358*81418a27Smrg PR libgfortran/61499 359*81418a27Smrg * io/list_read.c (eat_spaces): Use a 'for' loop instead of 360*81418a27Smrg 'while' loop to skip the loop if there are no bytes left in the 361*81418a27Smrg string. Only seek if actual spaces can be skipped. 362*81418a27Smrg 363*81418a27Smrg2014-06-25 Tobias Burnus <burnus@net-b.de> 364*81418a27Smrg 365*81418a27Smrg * caf/single.c (assign_char4_from_char1, assign_char1_from_char4, 366*81418a27Smrg convert_type): New static functions. 367*81418a27Smrg (_gfortran_caf_get, _gfortran_caf_send): Use them. 368*81418a27Smrg 369*81418a27Smrg2014-06-19 Tobias Burnus <burnus@net-b.de> 370*81418a27Smrg 371*81418a27Smrg * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max, 372*81418a27Smrg _gfortran_caf_co_min): Fix stat setting. 373*81418a27Smrg 374*81418a27Smrg2014-06-17 Tobias Burnus <burnus@net-b.de> 375*81418a27Smrg 376*81418a27Smrg * caf/libcaf.h (gfc_descriptor_t): New typedef. 377*81418a27Smrg (caf_vector_t): Update. 378*81418a27Smrg (_gfortran_caf_co_sum, _gfortran_caf_co_max, _gfortran_caf_co_min): 379*81418a27Smrg Remove vector-subscript argument. 380*81418a27Smrg (_gfortran_caf_co_send, _gfortran_caf_co_get, 381*81418a27Smrg _gfortran_caf_co_sendget): New. 382*81418a27Smrg * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max, 383*81418a27Smrg _gfortran_caf_co_min): Remove vector-subscript argument. 384*81418a27Smrg (_gfortran_caf_co_send, _gfortran_caf_co_get, 385*81418a27Smrg _gfortran_caf_co_sendget): New. 386*81418a27Smrg 387*81418a27Smrg2014-06-17 Janne Blomqvist <jb@gcc.gnu.org> 388*81418a27Smrg 389*81418a27Smrg * libgfortran.h (xmallocarray): New prototype. 390*81418a27Smrg * runtime/memory.c (xmallocarray): New function. 391*81418a27Smrg (xcalloc): Check for nonzero separately instead of multiplying. 392*81418a27Smrg * generated/*.c: Regenerated. 393*81418a27Smrg * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of 394*81418a27Smrg xmalloc. 395*81418a27Smrg * intrinsics/eoshift0.c (eoshift0): Likewise. 396*81418a27Smrg * intrinsics/eoshift2.c (eoshift2): Likewise. 397*81418a27Smrg * intrinsics/pack_generic.c (pack_internal): Likewise. 398*81418a27Smrg (pack_s_internal): Likewise. 399*81418a27Smrg * intrinsics/reshape_generic.c (reshape_internal): Likewise. 400*81418a27Smrg * intrinsics/spread_generic.c (spread_internal): Likewise. 401*81418a27Smrg (spread_internal_scalar): Likewise. 402*81418a27Smrg * intrinsics/string_intrinsics_inc.c (string_trim): Likewise. 403*81418a27Smrg (string_minmax): Likewise. 404*81418a27Smrg * intrinsics/transpose_generic.c (transpose_internal): Likewise. 405*81418a27Smrg * intrinsics/unpack_generic.c (unpack_internal): Likewise. 406*81418a27Smrg * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value. 407*81418a27Smrg * io/transfer.c (st_set_nml_var): Call xmallocarray instead of 408*81418a27Smrg xmalloc. 409*81418a27Smrg * io/unit.c (get_internal_unit): Likewise. 410*81418a27Smrg (filename_from_unit): Don't cast xmalloc return value. 411*81418a27Smrg * io/write.c (nml_write_obj): Likewise, formatting. 412*81418a27Smrg * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray 413*81418a27Smrg instead of xmalloc. 414*81418a27Smrg (besse_yn_r'rtype_kind`): Likewise. 415*81418a27Smrg * m4/cshift1.m4 (cshift1): Likewise. 416*81418a27Smrg * m4/eoshift1.m4 (eoshift1): Likewise. 417*81418a27Smrg * m4/eoshift3.m4 (eoshift3): Likewise. 418*81418a27Smrg * m4/iforeach.m4: Likewise. 419*81418a27Smrg * m4/ifunction.m4: Likewise. 420*81418a27Smrg * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): 421*81418a27Smrg Likewise. 422*81418a27Smrg * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise. 423*81418a27Smrg * m4/matmul.m4 (matmul_'rtype_code`): Likewise. 424*81418a27Smrg * m4/matmull.m4 (matmul_'rtype_code`): Likewise. 425*81418a27Smrg * m4/pack.m4 (pack_'rtype_code`): Likewise. 426*81418a27Smrg * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise. 427*81418a27Smrg * m4/shape.m4 (shape_'rtype_kind`): Likewise. 428*81418a27Smrg * m4/spread.m4 (spread_'rtype_code`): Likewise. 429*81418a27Smrg (spread_scalar_'rtype_code`): Likewise. 430*81418a27Smrg * m4/transpose.m4 (transpose_'rtype_code`): Likewise. 431*81418a27Smrg * m4/unpack.m4 (unpack0_'rtype_code`): Likewise. 432*81418a27Smrg (unpack1_'rtype_code`): Likewise. 433*81418a27Smrg * runtime/convert_char.c (convert_char1_to_char4): Likewise. 434*81418a27Smrg (convert_char4_to_char1): Simplify. 435*81418a27Smrg * runtime/environ.c (init_unformatted): Call xmallocarray instead 436*81418a27Smrg of xmalloc. 437*81418a27Smrg * runtime/in_pack_generic.c (internal_pack): Likewise. 438*81418a27Smrg 439*81418a27Smrg2014-06-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 440*81418a27Smrg 441*81418a27Smrg PR libfortran/60468 442*81418a27Smrg * configure.ac: Include <math.h> when checking for fp_except_t 443*81418a27Smrg and fp_rnd_t types. 444*81418a27Smrg * configure: Regenerate. 445*81418a27Smrg 446*81418a27Smrg2014-06-08 Janne Blomqvist <jb@gcc.gnu.org> 447*81418a27Smrg 448*81418a27Smrg PR libfortran/56981 449*81418a27Smrg * io/unix.h (struct stream_vtable): Add new member function, 450*81418a27Smrg markeor. 451*81418a27Smrg (smarkeor): New inline function. 452*81418a27Smrg (flush_if_unbuffered): Remove prototype. 453*81418a27Smrg * io/unix.c (raw_markeor): New function. 454*81418a27Smrg (raw_vtable): Initialize markeor member. 455*81418a27Smrg (buf_markeor): New function. 456*81418a27Smrg (buf_vtable): Initialize markeor member. 457*81418a27Smrg (mem_vtable): Likewise. 458*81418a27Smrg (mem4_vtable): Likewise. 459*81418a27Smrg (flush_if_unbuffered): Remove function. 460*81418a27Smrg * io/transfer.c (next_record): Call smarkeor instead of 461*81418a27Smrg flush_if_unbuffered. 462*81418a27Smrg 463*81418a27Smrg2014-05-27 Uros Bizjak <ubizjak@gmail.com> 464*81418a27Smrg 465*81418a27Smrg * intrinsics/getcwd.c: Include stdlib.h. 466*81418a27Smrg 467*81418a27Smrg2014-05-26 Janne Blomqvist <jb@gcc.gnu.org> 468*81418a27Smrg 469*81418a27Smrg * libgfortran.h (xrealloc): New prototype. 470*81418a27Smrg * runtime/memory.c (xrealloc): New function. 471*81418a27Smrg * io/fbuf.c (fbuf_alloc): Use xrealloc. 472*81418a27Smrg * io/list_read.c (push_char_default): Likewise. 473*81418a27Smrg (push_char4): Likewise. 474*81418a27Smrg 475*81418a27Smrg2014-05-26 Janne Blomqvist <jb@gcc.gnu.org> 476*81418a27Smrg 477*81418a27Smrg PR libfortran/61310 478*81418a27Smrg * intrinsics/ctime.c (strctime): Rename to gf_ctime, use snprintf 479*81418a27Smrg instead of strftime. 480*81418a27Smrg (fdate): Use gf_ctime. 481*81418a27Smrg (fdate_sub): Likewise. 482*81418a27Smrg (ctime): Likewise. 483*81418a27Smrg (ctime_sub): Likewise. 484*81418a27Smrg 485*81418a27Smrg2014-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> 486*81418a27Smrg 487*81418a27Smrg PR libgfortran/55117 488*81418a27Smrg * io/list_read.c (extended_look_ahead): New helper function to 489*81418a27Smrg scan the namelist name and look for matches with the new '+' 490*81418a27Smrg extended type parent indicator. (str_comp_extended): New 491*81418a27Smrg helper function to compare the namelist name with the varname 492*81418a27Smrg namelist. (find_nml_name): Use the new helper functions to match 493*81418a27Smrg the extended type varnames. 494*81418a27Smrg 495*81418a27Smrg2014-05-23 Jerry DeLisle <jvdelisle@gcc.gnu> 496*81418a27Smrg 497*81418a27Smrg PR libfortran/61173 498*81418a27Smrg * io/list_read.c (eat_spaces): If the next character pointed to 499*81418a27Smrg is a space, don't seek, must be at the end. 500*81418a27Smrg 501*81418a27Smrg2014-05-23 Hans-Peter Nilsson <hp@axis.com> 502*81418a27Smrg 503*81418a27Smrg * configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define. 504*81418a27Smrg * configure: Regenerate. 505*81418a27Smrg 506*81418a27Smrg2014-05-23 Janne Blomqvist <jb@gcc.gnu.org> 507*81418a27Smrg 508*81418a27Smrg PR libfortran/60324 509*81418a27Smrg * runtime/string.c: Include stdlib.h. 510*81418a27Smrg 511*81418a27Smrg2014-05-22 Janne Blomqvist <jb@gcc.gnu.org> 512*81418a27Smrg 513*81418a27Smrg PR libfortran/60324 514*81418a27Smrg * config.h.in: Regenerated. 515*81418a27Smrg * configure: Regenerated. 516*81418a27Smrg * configure.ac (AC_CHECK_FUNCS_ONCE): Check for strnlen and 517*81418a27Smrg strndup. 518*81418a27Smrg * libgfortran.h (fc_strdup): New prototype. 519*81418a27Smrg * runtime/string.c (strnlen): New fallback function. 520*81418a27Smrg (strndup): New fallback function. 521*81418a27Smrg (fc_strdup): New function. 522*81418a27Smrg * io/close.c (st_close): Use fc_strdup. 523*81418a27Smrg * io/open.c (new_unit): Likewise. 524*81418a27Smrg (already_open): Likewise. 525*81418a27Smrg * io/unit.c (filename_from_unit): Likewise. 526*81418a27Smrg * io/unix.c (unpack_filename): Remove function. 527*81418a27Smrg (regular_file): Rename to regular_file2, add path argument. 528*81418a27Smrg (regular_file): New function calling regular_file2. 529*81418a27Smrg (compare_file_filename): Use fc_strdup. 530*81418a27Smrg (find_file): Likewise. 531*81418a27Smrg (delete_file): Likewise. 532*81418a27Smrg (file_exists): Likewise. 533*81418a27Smrg (file_size): Likewise. 534*81418a27Smrg (inquire_sequential): Likewise. 535*81418a27Smrg (inquire_direct): Likewise. 536*81418a27Smrg (inquire_formatted): Likewise. 537*81418a27Smrg (inquire_access): Likewise. 538*81418a27Smrg * io/unix.h (unpack_filename): Remove prototype. 539*81418a27Smrg * runtime/main.c (please_free_exe_path_when_done): Change type to 540*81418a27Smrg bool. 541*81418a27Smrg (store_exe_path): Use malloced buffer, grow as needed. 542*81418a27Smrg 543*81418a27Smrg2014-05-17 Jerry DeLisle <jvdelisle@gcc.gnu> 544*81418a27Smrg 545*81418a27Smrg PR libfortran/52539 546*81418a27Smrg * io/io.h (gfc_unit): New function pointers *next_char_fn_ptr 547*81418a27Smrg and *push_char_fn_ptr. 548*81418a27Smrg *io/list_read.c (next_char): Create macro with this name to call 549*81418a27Smrg the new function pointer. Split the original next_char function 550*81418a27Smrg into three new functions. (next_char_default, next_char_internal, 551*81418a27Smrg next_char_utf8): New functions. (push_char): Create macro with 552*81418a27Smrg this name to call new function pointer. Split the original 553*81418a27Smrg push_char into three new functions. (push_char_default, 554*81418a27Smrg push_char_internal, push_char4): New functions. (set_workers): 555*81418a27Smrg New function to initilize the function pointers depending on the 556*81418a27Smrg type of IO to be performed. (list_formatted_read_scalar): Use 557*81418a27Smrg set_workers function. (finish_list_read): Likewise. 558*81418a27Smrg (namelist_read): Likewise. 559*81418a27Smrg (nml_get_obj_data): Use push_char_default. 560*81418a27Smrg 561*81418a27Smrg2014-05-16 Janne Blomqvist <jb@gcc.gnu.org> 562*81418a27Smrg 563*81418a27Smrg PR libfortran/61187 564*81418a27Smrg * io/unix.c (raw_close): Check if s->fd is -1. 565*81418a27Smrg (fd_to_stream): Check return value of fstat(), handle error. 566*81418a27Smrg 567*81418a27Smrg2014-05-12 Janne Blomqvist <jb@gcc.gnu.org> 568*81418a27Smrg 569*81418a27Smrg PR libfortran/61035 570*81418a27Smrg * intrinsics/getcwd.c (getcwd_i4_sub): Avoid potentially large 571*81418a27Smrg stack allocation, avoid extra copying in the common case. 572*81418a27Smrg 573*81418a27Smrg2014-05-12 Janne Blomqvist <jb@gcc.gnu.org> 574*81418a27Smrg 575*81418a27Smrg * configure.ac (AM_CFLAGS): Use -std=gnu11. 576*81418a27Smrg (CFLAGS): Likewise. 577*81418a27Smrg * configure: Regenerated. 578*81418a27Smrg 579*81418a27Smrg2014-05-11 Tobias Burnus <burnus@net-b.de> 580*81418a27Smrg 581*81418a27Smrg * caf/libcaf.h (_gfortran_caf_num_images): Change type of 582*81418a27Smrg second argument to int. 583*81418a27Smrg * caf/mpi.c (_gfortran_caf_num_images): Ditto. 584*81418a27Smrg * caf/single.c (_gfortran_caf_num_images): Ditto. 585*81418a27Smrg 586*81418a27Smrg2014-05-08 Tobias Burnus <burnus@net-b.de> 587*81418a27Smrg 588*81418a27Smrg * caf/libcaf.h (caf_vector_t, _gfortran_caf_co_sum, 589*81418a27Smrg _gfortran_caf_co_min, _gfortran_caf_co_max): Declare 590*81418a27Smrg * caf/single.c 591*81418a27Smrg 592*81418a27Smrg2014-05-06 Jerry DeLisle <jvdelisle@gcc.gnu> 593*81418a27Smrg 594*81418a27Smrg PR libfortran/61049 595*81418a27Smrg * io/list_read.c (list_formatted_read_scalar): Use eat_separator 596*81418a27Smrg and delete extraneous code. 597*81418a27Smrg 598*81418a27Smrg2014-04-30 Tobias Burnus <burnus@net-b.de> 599*81418a27Smrg 600*81418a27Smrg * caf/libcaf.h (_gfortran_caf_this_image, _gfortran_caf_num_images): 601*81418a27Smrg New prototypes. 602*81418a27Smrg (_gfortran_caf_init): Change prototype. 603*81418a27Smrg (mpi_token_t): New typedef. 604*81418a27Smrg (TOKEN): New define. 605*81418a27Smrg * caf/mpi.c (_gfortran_caf_this_image, _gfortran_caf_num_images): 606*81418a27Smrg New functions. 607*81418a27Smrg (_gfortran_caf_init): Update. 608*81418a27Smrg (_gfortran_caf_finalize, _gfortran_caf_register, 609*81418a27Smrg _gfortran_caf_deregister): Use mpi_token_t. 610*81418a27Smrg * caf/single.c (_gfortran_caf_this_image, _gfortran_caf_num_images): 611*81418a27Smrg New functions. 612*81418a27Smrg (_gfortran_caf_init): Update. 613*81418a27Smrg (_gfortran_caf_finalize, _gfortran_caf_register, 614*81418a27Smrg _gfortran_caf_deregister): Use mpi_token_t, simplify. 615*81418a27Smrg 616*81418a27Smrg2014-04-26 Jerry DeLisle <jvdelisle@gcc.gnu> 617*81418a27Smrg 618*81418a27Smrg PR libfortran/52539 619*81418a27Smrg * io/list_read.c: Add uchar typedef. (push_char4): New function 620*81418a27Smrg to save kind=4 character. (next_char_utf8): New function to read 621*81418a27Smrg a single UTF-8 encoded character value. (read_chracter): Update 622*81418a27Smrg to use the new functions for reading UTF-8 strings. 623*81418a27Smrg (list_formatted_read_scalar): Update to handle list directed 624*81418a27Smrg reads of UTF-8 strings. (nml_read_obj): Likewise update for 625*81418a27Smrg UTF-8 strings in namelists. 626*81418a27Smrg * io/write.c (nml_write_obj): Add kind=4 character support for 627*81418a27Smrg namelist writes. 628*81418a27Smrg 629*81418a27Smrg2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 630*81418a27Smrg 631*81418a27Smrg * configure.ac: Quote usage of ac_cv_func_clock_gettime in if test. 632*81418a27Smrg * configure: Regenerate. 633*81418a27Smrg 634*81418a27Smrg2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 635*81418a27Smrg 636*81418a27Smrg * config/fpu-387.h [__sun__ && __svr4__]: Remove SSE execution 637*81418a27Smrg check. 638*81418a27Smrg 639*81418a27Smrg2014-04-11 Jerry DeLisle <jvdelisle@gcc.gnu> 640*81418a27Smrg 641*81418a27Smrg PR libfortran/60810 642*81418a27Smrg io/unit.c (is_trim_ok): If internal unit is array, do not trim. 643*81418a27Smrg 644*81418a27Smrg2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu> 645*81418a27Smrg 646*81418a27Smrg PR libfortran/60148 647*81418a27Smrg * io/transfer.c (data_transfer_init): If std= was specified, set 648*81418a27Smrg delim status to DELIM_NONE of no other was specified. 649*81418a27Smrg 650*81418a27Smrg2014-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> 651*81418a27Smrg 652*81418a27Smrg * configure.ac: Check for presence of fcntl. 653*81418a27Smrg * configure: Regenerate. 654*81418a27Smrg * config.h.in: Regenerate. 655*81418a27Smrg * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL. 656*81418a27Smrg 657*81418a27Smrg2014-03-17 Jerry DeLisle <jvdelisle@gcc.gnu> 658*81418a27Smrg 659*81418a27Smrg PR libfortran/48600 660*81418a27Smrg * io/list_read.c (list_formatted_read_scalar): Do not use 661*81418a27Smrg eat_separator. Explicitly set the comma and end-of-line flags. 662*81418a27Smrg Check for END condition from finish_separator. 663*81418a27Smrg 664*81418a27Smrg2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu> 665*81418a27Smrg 666*81418a27Smrg PR libfortran/58324 667*81418a27Smrg * io/list_read.c (finish_list_read): Read one character to check 668*81418a27Smrg for the end of the file. If it is the end, then issue the file 669*81418a27Smrg end error message. If not, use eat_line to reach the end 670*81418a27Smrg without giving error. The next attempt to read will then 671*81418a27Smrg issue the error as described above. 672*81418a27Smrg 673*81418a27Smrg2014-03-12 Jerry DeLisle <jvdelisle@gcc.gnu> 674*81418a27Smrg 675*81418a27Smrg PR libfortran/38199 676*81418a27Smrg * io/read.c (read_decimal): Quickly skip spaces to avoid calls 677*81418a27Smrg to next_char. 678*81418a27Smrg * io/unit.c (is_trim_ok): New helper function to check various 679*81418a27Smrg conditions to see if its OK to trim the internal unit string. 680*81418a27Smrg (get_internal_unit): Use LEN_TRIM to shorten selected internal 681*81418a27Smrg unit strings for optimizing READ. Enable this optimization for 682*81418a27Smrg formatted READ. 683*81418a27Smrg * io/list_read.c (finish_list_read): Don't call eat_line for 684*81418a27Smrg internal units. 685*81418a27Smrg 686*81418a27Smrg2014-03-08 Jerry DeLisle <jvdelisle@gcc.gnu> 687*81418a27Smrg 688*81418a27Smrg PR libfortran/38199 689*81418a27Smrg * io/list_read.c (next_char): Mark unlikely error checks. 690*81418a27Smrg (eat_spaces): For character array reading, skip ahead over 691*81418a27Smrg spaces rather than call next_char multiple times. 692*81418a27Smrg 693*81418a27Smrg2014-03-08 Tobias Burnus <burnus@net-b.de> 694*81418a27Smrg 695*81418a27Smrg * libgfortran.h (unlikely, likely): Add usage comment. 696*81418a27Smrg 697*81418a27Smrg2014-03-08 Dominique d'Humieres <dominiq@lps.ens.fr> 698*81418a27Smrg 699*81418a27Smrg PR libgfortran/60128 700*81418a27Smrg * io/write_float.def (output_float): Remove unused variable 701*81418a27Smrg nzero_real. Replace a double space with a single one. 702*81418a27Smrg (determine_en_precision): Fix wrong handling of the EN format. 703*81418a27Smrg 704*81418a27Smrg2014-03-03 Jerry DeLisle <jvdelisle@gcc.gnu> 705*81418a27Smrg 706*81418a27Smrg PR libfortran/60148 707*81418a27Smrg * io/inquire.c (inquire_via_unit): In the case of 708*81418a27Smrg DELIM_UNSPECIFIED set inquire return string to "NONE". 709*81418a27Smrg * io/list_read.c (read_character): In the case of DELIM_NONE and 710*81418a27Smrg namelists, complete the character read using the namelist 711*81418a27Smrg variable length. 712*81418a27Smrg * io/open.c (new_unit): Don't set delim status to none if not 713*81418a27Smrg specified so that DELIM_UNSPECIFIED can be used later. 714*81418a27Smrg * io/transfer.c (data_transfer_init): For namelist I/O, if the 715*81418a27Smrg unit delim status is unspecified set the current status to quote. 716*81418a27Smrg Otherwise, set current status to the unit status. 717*81418a27Smrg * io/unit.c (get_internel_unit, init_unit): Remember to set 718*81418a27Smrg flags_delim initially to DELIM_UNSPECIFIED so defaults come out 719*81418a27Smrg correctly. 720*81418a27Smrg * io/write.c (write_character): Add a new function argument 721*81418a27Smrg "mode" to signify that raw output is to be used vs output with 722*81418a27Smrg delimiters. If the mode is set to DELIM (1) proceed with 723*81418a27Smrg delimiters. (list_formatted_write_scalar): Write the separator 724*81418a27Smrg only if a delimiter was previously specified. Update the call to 725*81418a27Smrg write_character with the mode argument given. 726*81418a27Smrg (namelist_write_newline): Use the mode argument. (nml_write_obj): 727*81418a27Smrg Use the mode argument. Remove use of tmp_delim. Write the 728*81418a27Smrg semi-colon or comma correctly only when needed with using 729*81418a27Smrg delimiters. Cleanup whitespace. 730*81418a27Smrg (namelist_write): If delim is not specified in namelist I/O, 731*81418a27Smrg default to using quotes. Get rid of the tmp_delim variable and 732*81418a27Smrg use the new mode argument in write_character. 733*81418a27Smrg 734*81418a27Smrg2014-02-21 Tobias Burnus <burnus@net-b.de> 735*81418a27Smrg 736*81418a27Smrg PR fortran/60286 737*81418a27Smrg * libgfortran/io/inquire.c (yes, no): New static const char vars. 738*81418a27Smrg (inquire_via_unit): Use them. Use OPEN mode instead of using 739*81418a27Smrg POSIX's access to query about write=, read= and readwrite=. 740*81418a27Smrg 741*81418a27Smrg2014-01-20 Jerry DeLisle <jvdelisle@gcc.gnu> 742*81418a27Smrg Dominique d'Humieres <dominiq@lps.ens.fr> 743*81418a27Smrg 744*81418a27Smrg * io/write_float.def (output_float): Remove inadvertent test 745*81418a27Smrg code from previous patch. 746*81418a27Smrg 747*81418a27Smrg2014-01-19 Jerry DeLisle <jvdelisle@gcc.gnu> 748*81418a27Smrg Dominique d'Humieres <dominiq@lps.ens.fr> 749*81418a27Smrg 750*81418a27Smrg PR libfortran/59771 751*81418a27Smrg PR libfortran/59774 752*81418a27Smrg PR libfortran/59836 753*81418a27Smrg * io/write_float.def (output_float): Fix wrong handling of the 754*81418a27Smrg Fw.0 format. 755*81418a27Smrg (output_float_FMT_G_): Fixes rounding issues with -m32. 756*81418a27Smrg 757*81418a27Smrg2014-01-11 Jerry DeLisle <jvdelisle@gcc.gnu> 758*81418a27Smrg Dominique d'Humieres <dominiq@lps.ens.fr> 759*81418a27Smrg Steven G. Kargl <kargl@gcc.gnu.org> 760*81418a27Smrg 761*81418a27Smrg PR libfortran/59700 762*81418a27Smrg PR libfortran/59764 763*81418a27Smrg * io/io.h (struct st_parameter_dt): Assign expanded_read flag to 764*81418a27Smrg unused bit. Define new variable line_buffer_pos. 765*81418a27Smrg * io/list_read.c (free_saved, next_char, l_push_char, 766*81418a27Smrg read_logical, read_real): Replace use of item_count with 767*81418a27Smrg line_buffer_pos for line_buffer look ahead. 768*81418a27Smrg (read_logical, read_integer, parse_real, read_real, check_type): 769*81418a27Smrg Adjust location of free_line to after generating error messages 770*81418a27Smrg to retain the correct item count for the message. 771*81418a27Smrg 772*81418a27Smrg2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> 773*81418a27Smrg 774*81418a27Smrg Update copyright years 775*81418a27Smrg 776*81418a27SmrgCopyright (C) 2014 Free Software Foundation, Inc. 777*81418a27Smrg 778*81418a27SmrgCopying and distribution of this file, with or without modification, 779*81418a27Smrgare permitted in any medium without royalty provided the copyright 780*81418a27Smrgnotice and this notice are preserved. 781