PR libfortran/66458
[official-gcc.git] / libgfortran / ChangeLog
blobffd6cfd3cbfff9a5024a2f79148f643291f8c2e1
1 2015-08-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3         PR libfortran/66458
4         * runtime/main.c (init): Only call set_fpu() if requested by user.
6 2015-08-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
8         * runtime/compile_options.c (set_options): Fix typos.
10 2015-08-04  Uros Bizjak  <ubizjak@gmail.com>
12         * config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variable
13         to improve generated code.
15 2015-08-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
17         PR fortran/64022
18         * ieee/ieee_exceptions.F90: Support all real kinds.
19         * ieee/ieee_arithmetic.F90: Likewise.
20         * ieee/ieee_helper.c (ieee_class_helper_10,
21         ieee_class_helper_16): New functions
22         * gfortran.map (GFORTRAN_1.7): Add entries.
24 2015-07-29  Uros Bizjak  <ubizjak@gmail.com>
26         PR libgfortran/66650
27         * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
28         "left shift of negative value" warning.
30 2015-07-14  Janne Blomqvist  <jb@gcc.gnu.org>
32         PR libfortran/66861
33         * io/unix.c (compare_file_filename): Verify that u->filename is
34         non-NULL before strcmp.
35         (find_file0): Likewise.
37 2015-07-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
39         PR libfortran/40267
40         * Makefile.am: Remove libgfortranbegin targets.
41         * Makefile.in: Regenerate.
42         * fmain.c: Remove.
44 2015-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
46         * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*.
47         * configure: Regenerate.
49 2015-04-21 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
51         PR libgfortran/65234
52         * io/format.c (parse_format_list): Set the seen_dd flag in all
53         cases where a data descriptor has been seen.
55 2015-04-21 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
57         PR libgfortran/56743
58         * io/list_read.c (CASE_SEPARATORS): Add case for '!'.
59         (is_separator): Add condition for '!'.
60         (eat_separator): Use notify_std to warn or errord if '!' is
61         encountered before a proper separator.
63 2015-04-14 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
65         PR libgfortran/65089
66         * io/format.h (free_format): New function to free memory
67         allocated for building format error messages.
68         * io/format.c (format_error): Add checks before freeing memory
69         to avoid potential segfaults and free formatting data when
70         needed on error conditions. Always allocate and NULL terminate
71         the string.
72         * io/transfer.c (st_read_done, st_write_done): Use new
73         free_format function to clean up memory allocations when done.
75 2015-03-28 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
77         PR libgfortran/65596
78         * io/transfer.c (data_transfer_init): If in namelist mode and
79         delimiter is not specified, set it to DELIM_QUOTE, independent
80         of -std.
81         * io/unit.c (init_units): Set flags.delim to the correct
82         initial value of DELIM_UNSPECIFIED.
84 2015-03-25 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
86         PR libgfortran/65541
87         * io/write.c (nml_write_obj): Convert '+' to '%' before emitting
88         object names in namelists.
90 2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
92         PR libgfortran/59513
93         * io/transfer.c (data_transfer_init): Do not error for
94         -std=legacy.
96 2015-03-16 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
98         PR libgfortran/64432
99         * intrinsics/system_clock.c (system_clock4, system_clock8):
100         Cleanup some whitespace.
102 2015-03-11  Thomas Schwinge  <thomas@codesourcery.com>
104         * caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
105         * runtime/minimal.c (STRERR_MAXSZ): Don't define.
106         (runtime_error_at, sys_abort): Bring more in line with the
107         non-LIBGFOR_MINIMAL code.
108         (runtime_warning_at, internal_error): New functions.
110 2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
112         PR libfortran/65200
113         * io/open.c (new_unit): Use gf_strerror rather than hardcoding
114         error messages for different errno values.
115         * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
117 2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
118             Tobias Burnus  <burnus@net-b.de>
120         * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
121         * caf/single.c (_gfortran_caf_sync_memory): Implement.
122         (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
123         __asm__ __volatile___ ("":::"memory").
125 2015-02-10 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
127         PR libgfortran/57822
128         * io/write_float.def (output_float): Apply fix of previous patch
129         to correctly calculate the exponent number of digits and take
130         care of wide character output.
132 2015-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
134         PR libgfortran/57822
135         * io/write_float.def (output_float): If doing g0 editing and
136         exponent is zero, do not emit exponent.
138 2015-02-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
140         PR libgfortran/60956
141         * io/fbuf.c (fbuf_flush_list): New function that only flushes
142         if current fbuf position exceeds a limit.
143         * io/fbuf.h: Declare the new function.
144         * io/io.h (enum unit_mode): Add two new modes.
145         * io/list_read.c (list_formatted_read_scalar): Call new function.
146         * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
147         Call new function.
149 2015-01-24  Janne Blomqvist  <jb@gcc.gnu.org>
151         PR libfortran/64770
152         * io/unit.c (filename_from_unit): Check that u->filename != NULL
153         before calling strdup.
155 2015-01-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
157         PR libgfortran/61933
158         * io/inquire.c (inquire_via_unit): Set existing to true for
159         any negative unit that is currently connected and any positive
160         units within range of KIND=4 value.  The unit value for any out
161         of range case that may occur if the user is using a KIND=8 will
162         have been set to -2 which is reserved and can never be opened,
163         and therefore the unit does not exist.
165 2015-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
167         PR libgfortran/61933
168         * io/inquire.c (inquire_via_unit): Set existing to true if a
169         gfc_unit stucture was found for the given unit number.
170         * runtime/error.c (translate_error): Add case for
171         LIBERROR_INQUIRE_INTERNAL_UNIT.
173 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
175         Update copyright years.
177 2015-01-02  Tobias Burnus  <burnus@net-b.de>
179         * caf/single.c (_gfortran_caf_co_reduce): New function.
180         * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
182 Copyright (C) 2015 Free Software Foundation, Inc.
184 Copying and distribution of this file, with or without modification,
185 are permitted in any medium without royalty provided the copyright
186 notice and this notice are preserved.