]>
Commit | Line | Data |
---|---|---|
241cbc7a JD |
1 | 2015-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
2 | ||
3 | PR libgfortran/65089 | |
4 | * io/format.h (free_format): New function to free memory | |
5 | allocated for building format error messages. | |
6 | * io/format.c (format_error): Add checks before freeing memory | |
7 | to avoid potential segfaults and free formatting data when | |
8 | needed on error conditions. Always allocate and NULL terminate | |
9 | the string. | |
10 | * io/transfer.c (st_read_done, st_write_done): Use new | |
11 | free_format function to clean up memory allocations when done. | |
12 | ||
d520fea8 JD |
13 | 2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
14 | ||
15 | PR libgfortran/65596 | |
16 | * io/transfer.c (data_transfer_init): If in namelist mode and | |
17 | delimiter is not specified, set it to DELIM_QUOTE, independent | |
18 | of -std. | |
19 | * io/unit.c (init_units): Set flags.delim to the correct | |
20 | initial value of DELIM_UNSPECIFIED. | |
21 | ||
9c5b1bf7 JD |
22 | 2015-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
23 | ||
24 | PR libgfortran/65541 | |
25 | * io/write.c (nml_write_obj): Convert '+' to '%' before emitting | |
26 | object names in namelists. | |
27 | ||
4bfbd309 JD |
28 | 2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
29 | ||
30 | PR libgfortran/59513 | |
31 | * io/transfer.c (data_transfer_init): Do not error for | |
32 | -std=legacy. | |
33 | ||
d4b35ef7 JD |
34 | 2015-03-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
35 | ||
36 | PR libgfortran/64432 | |
37 | * intrinsics/system_clock.c (system_clock4, system_clock8): | |
38 | Cleanup some whitespace. | |
39 | ||
17abb5ac TS |
40 | 2015-03-11 Thomas Schwinge <thomas@codesourcery.com> |
41 | ||
42 | * caf/single.c (caf_runtime_error): Revert 2014-11-28 changes. | |
43 | * runtime/minimal.c (STRERR_MAXSZ): Don't define. | |
44 | (runtime_error_at, sys_abort): Bring more in line with the | |
45 | non-LIBGFOR_MINIMAL code. | |
46 | (runtime_warning_at, internal_error): New functions. | |
47 | ||
6234b543 JB |
48 | 2015-03-11 Janne Blomqvist <jb@gcc.gnu.org> |
49 | ||
50 | PR libfortran/65200 | |
51 | * io/open.c (new_unit): Use gf_strerror rather than hardcoding | |
52 | error messages for different errno values. | |
53 | * io/unix.c (regular_file2): Handle EPERM in addition to EACCES. | |
54 | ||
9315dff0 AF |
55 | 2015-03-10 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com> |
56 | Tobias Burnus <burnus@net-b.de> | |
57 | ||
58 | * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype. | |
59 | * caf/single.c (_gfortran_caf_sync_memory): Implement. | |
60 | (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add | |
61 | __asm__ __volatile___ ("":::"memory"). | |
62 | ||
80f6181e JD |
63 | 2015-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
64 | ||
65 | PR libgfortran/57822 | |
66 | * io/write_float.def (output_float): Apply fix of previous patch | |
67 | to correctly calculate the exponent number of digits and take | |
68 | care of wide character output. | |
69 | ||
94ce26f1 JD |
70 | 2015-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
71 | ||
72 | PR libgfortran/57822 | |
73 | * io/write_float.def (output_float): If doing g0 editing and | |
74 | exponent is zero, do not emit exponent. | |
75 | ||
1060d940 JD |
76 | 2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
77 | ||
78 | PR libgfortran/60956 | |
79 | * io/fbuf.c (fbuf_flush_list): New function that only flushes | |
80 | if current fbuf position exceeds a limit. | |
81 | * io/fbuf.h: Declare the new function. | |
82 | * io/io.h (enum unit_mode): Add two new modes. | |
83 | * io/list_read.c (list_formatted_read_scalar): Call new function. | |
84 | * io/write.c: Include fbuf.h. (list_formatted_write_scalar): | |
85 | Call new function. | |
86 | ||
7165d8f1 JB |
87 | 2015-01-24 Janne Blomqvist <jb@gcc.gnu.org> |
88 | ||
89 | PR libfortran/64770 | |
90 | * io/unit.c (filename_from_unit): Check that u->filename != NULL | |
91 | before calling strdup. | |
92 | ||
bb295963 JD |
93 | 2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
94 | ||
95 | PR libgfortran/61933 | |
96 | * io/inquire.c (inquire_via_unit): Set existing to true for | |
97 | any negative unit that is currently connected and any positive | |
98 | units within range of KIND=4 value. The unit value for any out | |
99 | of range case that may occur if the user is using a KIND=8 will | |
100 | have been set to -2 which is reserved and can never be opened, | |
101 | and therefore the unit does not exist. | |
102 | ||
351b4432 JD |
103 | 2015-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
104 | ||
105 | PR libgfortran/61933 | |
106 | * io/inquire.c (inquire_via_unit): Set existing to true if a | |
107 | gfc_unit stucture was found for the given unit number. | |
108 | * runtime/error.c (translate_error): Add case for | |
109 | LIBERROR_INQUIRE_INTERNAL_UNIT. | |
110 | ||
5624e564 JJ |
111 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
112 | ||
113 | Update copyright years. | |
114 | ||
09de7c25 | 115 | 2015-01-02 Tobias Burnus <burnus@net-b.de> |
ee95f928 | 116 | |
09de7c25 TB |
117 | * caf/single.c (_gfortran_caf_co_reduce): New function. |
118 | * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype. | |
31107d5d | 119 | ^L |
09de7c25 | 120 | Copyright (C) 2015 Free Software Foundation, Inc. |
982198d5 JB |
121 | |
122 | Copying and distribution of this file, with or without modification, | |
123 | are permitted in any medium without royalty provided the copyright | |
124 | notice and this notice are preserved. |