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