Home | History | Annotate | Line # | Download | only in libgfortran
      1 2015-12-28  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
      2 
      3 	PR libfortran/68987
      4 	io/format.c (format_error): Remove unneeded memory cleanup.
      5 
      6 2015-12-14  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
      7 
      8 	PR libfortran/68867
      9 	* io/write.c (set_fnode_default): For kind=16, set the decimal precision
     10 	depending on the platform binary precision, 106 or 113.
     11 
     12 2015-12-05  Juoko Orava <jouko.orava (a] iki.fi>
     13 
     14 	PR fortran/50201
     15 	* io/write_float.def: Avoid marking quadmath_snprintf as an untyped
     16 	weak reference, which fixing linking with -static.
     17 
     18 2015-11-26  Tobias Burnus  <burnus (a] net-b.de>
     19 	    Alessandro Fanfarillo  <fanfarillo.gcc (a] gmail.com>
     20 
     21         * caf/libcaf.h (_gfortran_caf_event_post,
     22 	_gfortran_caf_event_wait,_gfortran_caf_event_query): New prototypes.
     23         * caf/single.c (_gfortran_caf_event_post,
     24 	_gfortran_caf_event_wait,_gfortran_caf_event_query): Implement.
     25 
     26 2015-11-22  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
     27 
     28 	PR libfortran/52251
     29 	* io/transfer.c (formatted_transfer_scalar_write): Reset skips count.
     30 	(finalize_transfer): For ADVANCE_NO, emit pending spaces and reset the
     31 	skip count.
     32 
     33 2015-11-22  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
     34 
     35 	* io/write_float.def (output_float): Move block determining
     36 	room for leading zero to before checkng g0 formatting.
     37 
     38 2015-09-12  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
     39 
     40 	PR libfortran/67527
     41 	PR libfortran/67535
     42 	PR libfortran/67536
     43 	* io/io.h: Use unsigned values for 31-bit left shifts.
     44 	* io/unix.c (buf_read): Do not call memcpy() with NULL pointer arg.
     45 	* io/write.c (nml_write_obj): Likewise.
     46 
     47 2015-09-05  Janne Blomqvist  <jb (a] gcc.gnu.org>
     48 
     49 	PR fortran/53379
     50 	* libgfortran.h (exit_error): New prototype.
     51 	* runtime/error.c (exit_error): New function.
     52 	(os_error): Call exit_error instead of exit.
     53 	(runtime_error): Likewise.
     54 	(runtime_error_at): Likewise.
     55 	(internal_error): Likewise.
     56 	(generate_error): Likewise.
     57 	(notify_std): Likewise.
     58 	* runtime/stop.c (error_stop_string): Likewise.
     59 	(error_stop_numeric): Likewise.
     60 
     61 2015-09-04  Janne Blomqvist  <jb (a] gcc.gnu.org>
     62 
     63 	* io/unix.h (delete_file): Remove prototype.
     64 	* io/unix.c (delete_file): Remove function.
     65 	* io/close.c (st_close): Replace delete_file and unlink with
     66 	remove.
     67 	* io/open.c (already_open): Replace unlink with remove.
     68 
     69 2015-09-02  Janne Blomqvist  <jb (a] gcc.gnu.org>
     70 
     71 	PR libfortran/67414
     72 	* io/write.c (gfc_itoa): Move to runtime/string.c.
     73 	* libgfortran.h (show_backtrace): Make arg bool.
     74 	(gfc_itoa): New prototype.
     75 	* runtime/backtrace.c (struct mystate): Change type of try_simple
     76 	field, add in_signal_handler field.
     77 	(error_callback): Print out error number, or if not in a signal
     78 	handler, the error message.
     79 	(show_backtrace): Change type of arg, change initialization of
     80 	struct mystate.
     81 	(backtrace): Call show_backtrace with correct arg type.
     82 	* runtime/compile_options.c (backtrace_handler): Call with correct
     83 	arg type.
     84 	* runtime/error.c (sys_abort): Likewise.
     85 	(gf_strerror): Handle newlocale() failure.
     86 	* runtime/string.c (gfc_itoa): Function moved here from
     87 	io/write.c.
     88 
     89 2015-08-31  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
     90 
     91 	PR libfortran/47571
     92 	* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Reinstate.
     93 	* configure.ac: Call LIBGFOR_GTHREAD_WEAK again.
     94 	* config.h.in: Regenerate.
     95 	* configure: Regenerate.
     96 
     97 2015-08-31  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
     98 
     99 	PR libfortran/47571
    100 	* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove.
    101 	(LIBGFOR_CHECK_WEAKREF): New test.
    102 	* configure.ac: Call LIBGFOR_CHECK_WEAKREF instead of
    103 	LIBGFOR_GTHREAD_WEAK.
    104 	* config.h.in: Regenerate.
    105 	* configure: Regenerate.
    106 	* intrinsics/system_clock.c: Use SUPPORTS_WEAKREF instead of
    107 	SUPPORTS_WEAK and GTHREAD_USE_WEAK.
    108 
    109 2015-08-29 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    110 
    111 	PR libgfortran/67367
    112 	* io/unix.c (buf_read): Check for error condition and if found
    113 	return the error code.
    114 
    115 2015-08-29  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    116 
    117 	* acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT.
    118 	* configure.ac: Remove checks for strcasestr, execl, close,
    119 	getrlimit, readlink, getppid, powl, erfl, j0l, j1l, y0l, y1l,
    120 	tgammal, and lgammal.
    121 	* config.h.in: Regenerate.
    122 	* configure: Regenerate.
    123 
    124 2015-08-29  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    125 
    126 	* io/unix.c (min): Remove unused macro.
    127 
    128 2015-08-28  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    129 
    130 	PR fortran/53668
    131 	* intrinsics/malloc.c: Adapt comments.
    132 
    133 2015-08-28  James Greenhalgh  <james.greenhalgh (a] arm.com>
    134 
    135 	* configure.ac: Auto-detect newlib function support unless we
    136 	know there are issues when configuring for a host.
    137 	* configure: Regenerate.
    138 
    139 2015-08-26  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    140 
    141 	PR fortran/29600
    142 	* Makefile.am: Add generated/shape_i{1,2}.c
    143 	* Makefile.in: Regenerate.
    144 	* generated/shape_i1.c: New generated file.
    145 	* generated/shape_i2.c: New generated file.
    146 	* generated/shape_i4.c: Regenerate.
    147 	* generated/shape_i8.c: Regenerate.
    148 	* generated/shape_i16.c: Regenerate.
    149 	* gfortran.map (GFORTRAN_1.7): Add _gfortran_shape_{1,2}.
    150 	* m4/shape.m4: Fix parameter type.
    151 
    152 2015-08-26  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    153 
    154 	* libgfortran.h (show_variables): Remove prototype.
    155 	* runtime/environ.c (print_spaces, var_source, show_integer,
    156 	show_boolean, show_sep, show_string): Remove functions.
    157 	* runtime/main.c (init): Remove dead code.
    158 
    159 2015-08-25  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    160 
    161 	* io/unit.c (get_internal_unit): Make default sign mode unspecified.
    162 	(init_units): Make default sign mode unspecified.
    163 
    164 2015-08-25  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    165 
    166 	* libgfortran.h (check_buffered): Remove unused prototype.
    167 
    168 2015-08-24  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    169 
    170 	PR libfortran/57496
    171 	* io/write_float.def: Use built-in type-generic functions defined
    172 	by libgfortran.h for isfinite, isnan, and signbit.
    173 
    174 2015-08-23  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    175 
    176 	PR libfortran/54572
    177 	* Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace.
    178 	(AM_CPPFLAGS): Add libbacktrace directories to include paths.
    179 	* Makefile.in: Regenerate.
    180 	* aclocal.m4: Regenerate.
    181 	* config.h.in: Regenerate.
    182 	* configure: Regenerate.
    183 	* configure.ac: Remove checks for strtok_r, wait, execve, pipe,
    184 	and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO.
    185 	* libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove
    186 	prototypes.
    187 	(show_backtrace): Add prototype.
    188 	* runtime/backtrace.c: Rework file entirely.
    189 	* runtime/compile_options.c (backtrace_handler): Rename backtrace
    190 	to show_backtrace.
    191 	(maybe_find_addr2line): Remove function.
    192 	(set_options): Remove call to maybe_find_addr2line.
    193 	* runtime/error.c (sys_abort): Rename backtrace to show_backtrace.
    194 	* runtime/main.c (store_exe_path): Empty function body.
    195 	(full_exe_path, gfstrtok_r, find_addr2line): Remove functions.
    196 	(cleanup): Don't free removed variables.
    197 	* runtime/minimal.c (full_exe_path): Remove function.
    198 	(set_args): Don't set exe_path.
    199 
    200 2015-08-23  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    201 
    202 	PR libfortran/62296
    203 	* intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New
    204 	error code.
    205 	(cmdmsg_values): New error message.
    206 	(set_cmdstat): Rework runtime error.
    207 	(execute_command_line): Handle invalid command line error status.
    208 
    209 2015-08-10  Steven G. Kargl  <kargl (a] gcc.gnu.org>
    210 
    211 	PR libfortran/67140
    212 	* intrinsics/mvbits.c: Fix build for platforms without c_int128_t.
    213 
    214 2015-08-10  Steven G. Kargl  <kargl (a] gcc.gnu.org>
    215 
    216 	PR libfortran/67140
    217 	* gfortran.map: Add _gfortran_mvbits_i16.
    218 	* intrinsics/mvbits.c: Generate mvbits for c_int128_t.
    219 
    220 2015-08-09  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    221 
    222 	PR libfortran/66936
    223 	* io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
    224 
    225 2015-08-07  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    226 
    227 	PR libfortran/66458
    228 	* runtime/main.c (init): Only call set_fpu() if requested by user.
    229 
    230 2015-08-06  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    231 
    232 	* runtime/compile_options.c (set_options): Fix typos.
    233 
    234 2015-08-04  Uros Bizjak  <ubizjak (a] gmail.com>
    235 
    236 	* config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variable
    237 	to improve generated code.
    238 
    239 2015-08-04  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    240 
    241 	PR fortran/64022
    242 	* ieee/ieee_exceptions.F90: Support all real kinds.
    243 	* ieee/ieee_arithmetic.F90: Likewise.
    244 	* ieee/ieee_helper.c (ieee_class_helper_10,
    245 	ieee_class_helper_16): New functions
    246 	* gfortran.map (GFORTRAN_1.7): Add entries.
    247 
    248 2015-07-29  Uros Bizjak  <ubizjak (a] gmail.com>
    249 
    250 	PR libgfortran/66650
    251 	* libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
    252 	"left shift of negative value" warning.
    253 
    254 2015-07-14  Janne Blomqvist  <jb (a] gcc.gnu.org>
    255 
    256 	PR libfortran/66861
    257 	* io/unix.c (compare_file_filename): Verify that u->filename is
    258 	non-NULL before strcmp.
    259 	(find_file0): Likewise.
    260 
    261 2015-07-06  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
    262 
    263 	PR libfortran/40267
    264 	* Makefile.am: Remove libgfortranbegin targets.
    265 	* Makefile.in: Regenerate.
    266 	* fmain.c: Remove.
    267 
    268 2015-04-22  Szabolcs Nagy  <szabolcs.nagy (a] arm.com>
    269 
    270 	* acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*.
    271 	* configure: Regenerate.
    272 
    273 2015-04-21 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    274 
    275 	PR libgfortran/65234
    276 	* io/format.c (parse_format_list): Set the seen_dd flag in all
    277 	cases where a data descriptor has been seen.
    278 
    279 2015-04-21 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    280 
    281 	PR libgfortran/56743
    282 	* io/list_read.c (CASE_SEPARATORS): Add case for '!'.
    283 	(is_separator): Add condition for '!'.
    284 	(eat_separator): Use notify_std to warn or errord if '!' is
    285 	encountered before a proper separator.
    286 
    287 2015-04-14 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    288 
    289 	PR libgfortran/65089
    290 	* io/format.h (free_format): New function to free memory
    291 	allocated for building format error messages.
    292 	* io/format.c (format_error): Add checks before freeing memory
    293 	to avoid potential segfaults and free formatting data when
    294 	needed on error conditions. Always allocate and NULL terminate
    295 	the string.
    296 	* io/transfer.c (st_read_done, st_write_done): Use new
    297 	free_format function to clean up memory allocations when done.
    298 
    299 2015-03-28 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    300 
    301 	PR libgfortran/65596
    302 	* io/transfer.c (data_transfer_init): If in namelist mode and
    303 	delimiter is not specified, set it to DELIM_QUOTE, independent
    304 	of -std.
    305 	* io/unit.c (init_units): Set flags.delim to the correct
    306 	initial value of DELIM_UNSPECIFIED.
    307 
    308 2015-03-25 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    309 
    310 	PR libgfortran/65541
    311 	* io/write.c (nml_write_obj): Convert '+' to '%' before emitting
    312 	object names in namelists.
    313 
    314 2015-03-22 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    315 
    316 	PR libgfortran/59513
    317 	* io/transfer.c (data_transfer_init): Do not error for
    318 	-std=legacy.
    319 
    320 2015-03-16 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    321 
    322 	PR libgfortran/64432
    323 	* intrinsics/system_clock.c (system_clock4, system_clock8):
    324 	Cleanup some whitespace.
    325 
    326 2015-03-11  Thomas Schwinge  <thomas (a] codesourcery.com>
    327 
    328 	* caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
    329 	* runtime/minimal.c (STRERR_MAXSZ): Don't define.
    330 	(runtime_error_at, sys_abort): Bring more in line with the
    331 	non-LIBGFOR_MINIMAL code.
    332 	(runtime_warning_at, internal_error): New functions.
    333 
    334 2015-03-11  Janne Blomqvist  <jb (a] gcc.gnu.org>
    335 
    336 	PR libfortran/65200
    337 	* io/open.c (new_unit): Use gf_strerror rather than hardcoding
    338 	error messages for different errno values.
    339 	* io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
    340 
    341 2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc (a] gmail.com>
    342 	    Tobias Burnus  <burnus (a] net-b.de>
    343 
    344 	* caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
    345 	* caf/single.c (_gfortran_caf_sync_memory): Implement.
    346 	(_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
    347 	__asm__ __volatile___ ("":::"memory").
    348 
    349 2015-02-10 Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    350 
    351 	PR libgfortran/57822
    352 	* io/write_float.def (output_float): Apply fix of previous patch
    353 	to correctly calculate the exponent number of digits and take
    354 	care of wide character output.
    355 
    356 2015-02-09  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    357 
    358 	PR libgfortran/57822
    359 	* io/write_float.def (output_float): If doing g0 editing and
    360 	exponent is zero, do not emit exponent.
    361 
    362 2015-02-07  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    363 
    364 	PR libgfortran/60956
    365 	* io/fbuf.c (fbuf_flush_list): New function that only flushes
    366 	if current fbuf position exceeds a limit.
    367 	* io/fbuf.h: Declare the new function.
    368 	* io/io.h (enum unit_mode): Add two new modes.
    369 	* io/list_read.c (list_formatted_read_scalar): Call new function.
    370 	* io/write.c: Include fbuf.h. (list_formatted_write_scalar):
    371 	Call new function.
    372 
    373 2015-01-24  Janne Blomqvist  <jb (a] gcc.gnu.org>
    374 
    375 	PR libfortran/64770
    376 	* io/unit.c (filename_from_unit): Check that u->filename != NULL
    377 	before calling strdup.
    378 
    379 2015-01-22  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    380 
    381 	PR libgfortran/61933
    382 	* io/inquire.c (inquire_via_unit): Set existing to true for
    383 	any negative unit that is currently connected and any positive
    384 	units within range of KIND=4 value.  The unit value for any out
    385 	of range case that may occur if the user is using a KIND=8 will
    386 	have been set to -2 which is reserved and can never be opened,
    387 	and therefore the unit does not exist.
    388 
    389 2015-01-14  Jerry DeLisle  <jvdelisle (a] gcc.gnu.org>
    390 
    391 	PR libgfortran/61933
    392 	* io/inquire.c (inquire_via_unit): Set existing to true if a
    393 	gfc_unit stucture was found for the given unit number.
    394 	* runtime/error.c (translate_error): Add case for
    395 	LIBERROR_INQUIRE_INTERNAL_UNIT.
    396 
    397 2015-01-05  Jakub Jelinek  <jakub (a] redhat.com>
    398 
    399 	Update copyright years.
    400 
    401 2015-01-02  Tobias Burnus  <burnus (a] net-b.de>
    402 
    403 	* caf/single.c (_gfortran_caf_co_reduce): New function.
    404 	* caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
    405 
    407 Copyright (C) 2015 Free Software Foundation, Inc.
    408 
    409 Copying and distribution of this file, with or without modification,
    410 are permitted in any medium without royalty provided the copyright
    411 notice and this notice are preserved.
    412