]>
Commit | Line | Data |
---|---|---|
6bc936d3 | 1 | 2019-06-14 Janne Blomqvist <jb@gcc.gnu.org> |
2 | ||
3 | * runtime/memory.c (SIZE_MAX):Remove macro definition. | |
4 | (xmallocarray): Use __builtin_mul_overflow. | |
5 | ||
647551f1 | 6 | 2019-05-22 Jeff Law <law@redhat.com> |
7 | ||
8 | PR fortran/89100 | |
9 | * io/format.c (parse_format_list): set default width when the | |
10 | IOPARM_DT_DEC_EXT flag is set for i, f and g. | |
11 | * io/io.h: add default_width_for_integer, default_width_for_float | |
12 | and default_precision_for_float. | |
13 | * io/write.c (write_boz): extra parameter giving length of data | |
14 | corresponding to the type's kind. | |
15 | (write_b): pass data length as extra parameter in calls to | |
16 | write_boz. | |
17 | (write_o): pass data length as extra parameter in calls to | |
18 | write_boz. | |
19 | (write_z): pass data length as extra parameter in calls to | |
20 | write_boz. | |
21 | (size_from_kind): also set size is default width is set. | |
22 | * io/write_float.def (build_float_string): new paramter inserted | |
23 | before result parameter. If default width use values passed | |
24 | instead of the values in fnode. | |
25 | (FORMAT_FLOAT): macro modified to check for default width and | |
26 | calls to build_float_string to pass in default width. | |
27 | (get_float_string): set width and precision to defaults when | |
28 | needed. | |
29 | ||
69024fb7 | 30 | 2019-05-19 Janne Blomqvist <jb@gcc.gnu.org> |
31 | ||
32 | PR libfortran/90038 | |
33 | * intrinsics/execute_command_line (sigchld_handler): New function. | |
34 | (execute_command_line): Install handler for SIGCHLD. | |
35 | * configure.ac: Check for presence of sigaction and waitpid. | |
36 | * config.h.in: Regenerated. | |
37 | * configure: Regenerated. | |
38 | ||
e38e222d | 39 | 2019-05-17 Janne Blomqvist <jb@gcc.gnu.org> |
40 | ||
41 | PR libfortran/90038 | |
42 | * configure.ac (AC_CHECK_FUNCS_ONCE): Check for posix_spawn. | |
43 | * intrinsics/execute_command_line (execute_command_line): Use | |
44 | posix_spawn. | |
45 | * Makefile.in: Regenerated. | |
46 | * config.h.in: Regenerated. | |
47 | * configure: Regenerated. | |
48 | ||
7f89c66b | 49 | 2019-05-17 Jakub Jelinek <jakub@redhat.com> |
50 | ||
c5e8cf41 | 51 | PR fortran/54613 |
52 | * gfortran.map (GFORTRAN_9.2): Export _gfortran_{,m,s}findloc{0,1}_r10. | |
53 | * Makefile.am (i_findloc0_c): Add $(srcdir)/generated/findloc0_r10.c. | |
54 | (i_findloc1_c): Add $(srcdir)/generated/findloc1_r10.c. | |
55 | * Makefile.in: Regenerated. | |
56 | * generated/findloc0_r10.c: Generated. | |
57 | * generated/findloc1_r10.c: Generated. | |
58 | ||
7f89c66b | 59 | PR fortran/54613 |
60 | * gfortran.map (GFORTRAN_9.2): New symbol version, export | |
61 | _gfortran_{,m,s}findloc0_i2 in it. | |
62 | ||
a4805c61 | 63 | 2019-05-15 Janne Blomqvist <jb@gcc.gnu.org> |
64 | ||
65 | PR fortran/90461 | |
66 | * io/open.c (new_unit): Don't check if the file is already open | |
67 | for F2018. | |
68 | ||
9e68ec50 | 69 | 2019-05-02 Jakub Jelinek <jakub@redhat.com> |
70 | ||
71 | * Makefile.am (gfor_cdir): Remove $(MULTISUBDIR). | |
72 | * Makefile.in: Regenerated. | |
73 | ||
37684a4c | 74 | 2019-04-14 Paul Thomas <pault@gcc.gnu.org> |
75 | ||
76 | PR fortran/89843 | |
77 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only | |
78 | return immediately if the source pointer is null. Bring | |
79 | forward the extraction of the gfc type. Extract the kind so | |
80 | that the element size can be correctly computed for sections | |
81 | and components of derived type arrays. Remove the free of the | |
82 | CFI descriptor since this is now done in trans-expr.c. | |
83 | (gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it | |
84 | is not null. | |
85 | (CFI_section): Normalise the difference between the upper and | |
86 | lower bounds by the stride to correctly calculate the extents | |
87 | of the section. | |
88 | ||
89 | PR fortran/89846 | |
90 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use | |
91 | the stride measure for the gfc span if it is not a multiple | |
92 | of the element length. Otherwise use the element length. | |
93 | ||
94 | PR fortran/90022 | |
95 | * runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return | |
96 | 1 for true and 0 otherwise to comply with the standard. Correct | |
97 | the contiguity check for rank 3 and greater by using the stride | |
98 | measure of the lower dimension rather than the element length. | |
99 | ||
dc76722b | 100 | 2019-03-25 John David Anglin <danglin@gcc.gnu.org> |
101 | ||
102 | PR libgfortran/79540 | |
103 | * io/write_float.def (build_float_string): Don't copy digits when | |
104 | ndigits is negative. | |
105 | ||
c7d4f57a | 106 | 2019-03-05 Jakub Jelinek <jakub@redhat.com> |
107 | ||
108 | PR libgfortran/89593 | |
109 | * caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to | |
110 | gfc_descriptor_t * to avoid warning. | |
111 | ||
59cf6c64 | 112 | 2019-02-26 Uroš Bizjak <ubizjak@gmail.com> |
113 | ||
114 | * io/transfer.c (transfer_array_inner): Do not | |
115 | cast charlen to index_type. | |
116 | ||
8b64c6ce | 117 | 2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org> |
118 | ||
119 | PR libfortran/89274 | |
120 | * io/write.c (write_integer): Add width for INTEGER(16). | |
121 | ||
889b0295 | 122 | 2019-02-23 Paul Thomas <pault@gcc.gnu.org> |
123 | ||
124 | PR fortran/89385 | |
125 | PR fortran/89366 | |
126 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the | |
127 | interchange between character and derived, the character type | |
128 | was being set incorrectly. | |
129 | (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in | |
130 | this function. Do not add the kind and length information to | |
131 | the type field of structures. Lbounds were incorrectly being | |
132 | set to zero for allocatable and pointer descriptors. Should | |
133 | have been non-pointer, non-allocatables that received this | |
134 | treatment. | |
135 | ||
c0f854d7 | 136 | 2019-01-30 Uroš Bizjak <ubizjak@gmail.com> |
137 | ||
b42cf2b2 | 138 | PR libfortran/88678 |
139 | Revert: | |
140 | 2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com> | |
141 | ||
142 | PR libfortran/78314 | |
143 | * config/fpu-glibc.h (support_fpu_trap): Use feenableexcept. | |
c0f854d7 | 144 | |
99ec6287 | 145 | 2019-01-30 Uroš Bizjak <ubizjak@gmail.com> |
146 | ||
b42cf2b2 | 147 | PR libfortran/88678 |
99ec6287 | 148 | * config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled |
149 | exception flags before changing trap mode. Optimize to call | |
150 | feenableexcept and fedisableexcept only once. | |
151 | ||
89338f04 | 152 | 2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de> |
153 | ||
154 | * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION(). | |
155 | ||
c35aa9f8 | 156 | 2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
157 | ||
158 | PR libfortran/89020 | |
159 | * io/close.c (st_close): Simplify text of error message to not | |
160 | presume a specific cause of failure to remove file. | |
161 | ||
6cb6b0d1 | 162 | 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
163 | ||
164 | PR libfortran/89020 | |
165 | * io/close.c (st_close): Fix typo. | |
166 | ||
48d79b6a | 167 | 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
168 | ||
905bf56b | 169 | PR libfortran/89020 |
48d79b6a | 170 | * io/close.c (st_close): Generate error if calls to 'remove' return |
171 | an error. | |
172 | ||
51177ee3 | 173 | 2019-01-17 Andrew Stubbs <ams@codesourcery.com> |
174 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
175 | Julian Brown <julian@codesourcery.com> | |
176 | Tom de Vries <tom@codesourcery.com> | |
177 | ||
178 | * configure.ac: Use minimal mode for amdgcn. | |
179 | * configure: Regenerate. | |
180 | ||
77aa0989 | 181 | 2019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
182 | ||
183 | PR libfortran/88776 | |
184 | * io/open.c (newunit): Free format buffer if the unit specified is for | |
889b0295 | 185 | stdin, stdout, or stderr. |
77aa0989 | 186 | |
4b03b84a | 187 | 2019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
188 | ||
189 | PR libfortran/88776 | |
190 | * io/list_read.c (namelist_read): Use nml_err_ret path on read error | |
191 | not based on stdin_unit. | |
192 | ||
77ddff12 | 193 | 2019-01-12 Paul Thomas <pault@gcc.gnu.org> |
194 | ||
195 | * ISO_Fortran_binding.h : New file. | |
196 | * Makefile.am : Include ISO_Fortran_binding.c in the list of | |
197 | files to compile. | |
198 | * Makefile.in : Regenerated. | |
199 | * gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc, | |
200 | _gfortran_gfc_desc_to_cfi_desc and the CFI API functions. | |
201 | * runtime/ISO_Fortran_binding.c : New file containing the new | |
202 | functions added to the map. | |
203 | ||
0f861194 | 204 | 2019-01-12 Jakub Jelinek <jakub@redhat.com> |
205 | ||
206 | PR libfortran/88807 | |
207 | * m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings. | |
208 | * generated/minloc0_4_i1.c: Regenerated. | |
209 | * generated/minloc0_4_i2.c: Regenerated. | |
210 | * generated/minloc0_4_i4.c: Regenerated. | |
211 | * generated/minloc0_4_i8.c: Regenerated. | |
212 | * generated/minloc0_4_i16.c: Regenerated. | |
213 | * generated/minloc0_4_r4.c: Regenerated. | |
214 | * generated/minloc0_4_r8.c: Regenerated. | |
215 | * generated/minloc0_4_r10.c: Regenerated. | |
216 | * generated/minloc0_4_r16.c: Regenerated. | |
217 | * generated/minloc0_8_i1.c: Regenerated. | |
218 | * generated/minloc0_8_i2.c: Regenerated. | |
219 | * generated/minloc0_8_i4.c: Regenerated. | |
220 | * generated/minloc0_8_i8.c: Regenerated. | |
221 | * generated/minloc0_8_i16.c: Regenerated. | |
222 | * generated/minloc0_8_r4.c: Regenerated. | |
223 | * generated/minloc0_8_r8.c: Regenerated. | |
224 | * generated/minloc0_8_r10.c: Regenerated. | |
225 | * generated/minloc0_8_r16.c: Regenerated. | |
226 | * generated/minloc0_16_i1.c: Regenerated. | |
227 | * generated/minloc0_16_i2.c: Regenerated. | |
228 | * generated/minloc0_16_i4.c: Regenerated. | |
229 | * generated/minloc0_16_i8.c: Regenerated. | |
230 | * generated/minloc0_16_i16.c: Regenerated. | |
231 | * generated/minloc0_16_r4.c: Regenerated. | |
232 | * generated/minloc0_16_r8.c: Regenerated. | |
233 | * generated/minloc0_16_r10.c: Regenerated. | |
234 | * generated/minloc0_16_r16.c: Regenerated. | |
235 | ||
f4d3c071 | 236 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
237 | ||
238 | PR other/16615 | |
f4d3c071 | 239 | * caf/single.c: Mechanically replace "can not" with "cannot". |
240 | * io/unit.c: Likewise. | |
241 | ||
5f34f219 | 242 | 2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org> |
0f861194 | 243 | Harald Anlauf <anlauf@gmx.de> |
244 | Tobias Burnus <burnus@gcc.gnu.org> | |
5f34f219 | 245 | |
246 | PR fortran/45424 | |
247 | * Makefile.am: Add intrinsics/is_contiguous.c. | |
248 | * Makefile.in: Regenerated. | |
249 | * gfortran.map: Add _gfortran_is_contiguous0. | |
250 | * intrinsics/is_contiguous.c: New file. | |
251 | * libgfortran.h: Add prototype for is_contiguous0. | |
252 | ||
4e9e4694 | 253 | 2019-01-07 Janne Blomqvist <jb@gcc.gnu.org> |
254 | ||
255 | * gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on | |
256 | GFORTRAN_8. | |
257 | ||
fbd26352 | 258 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 259 | |
260 | Update copyright years. | |
f1717362 | 261 | \f |
fbd26352 | 262 | Copyright (C) 2019 Free Software Foundation, Inc. |
639d12cd | 263 | |
264 | Copying and distribution of this file, with or without modification, | |
265 | are permitted in any medium without royalty provided the copyright | |
266 | notice and this notice are preserved. |