72b70a0c559411bf53bde462d2cbc00757f83f8c
[gcc.git] / libgfortran / ChangeLog
1 2019-05-02 Jakub Jelinek <jakub@redhat.com>
2
3 * Makefile.am (gfor_cdir): Remove $(MULTISUBDIR).
4 * Makefile.in: Regenerated.
5
6 2019-04-14 Paul Thomas <pault@gcc.gnu.org>
7
8 PR fortran/89843
9 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only
10 return immediately if the source pointer is null. Bring
11 forward the extraction of the gfc type. Extract the kind so
12 that the element size can be correctly computed for sections
13 and components of derived type arrays. Remove the free of the
14 CFI descriptor since this is now done in trans-expr.c.
15 (gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it
16 is not null.
17 (CFI_section): Normalise the difference between the upper and
18 lower bounds by the stride to correctly calculate the extents
19 of the section.
20
21 PR fortran/89846
22 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use
23 the stride measure for the gfc span if it is not a multiple
24 of the element length. Otherwise use the element length.
25
26 PR fortran/90022
27 * runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return
28 1 for true and 0 otherwise to comply with the standard. Correct
29 the contiguity check for rank 3 and greater by using the stride
30 measure of the lower dimension rather than the element length.
31
32 2019-03-25 John David Anglin <danglin@gcc.gnu.org>
33
34 PR libgfortran/79540
35 * io/write_float.def (build_float_string): Don't copy digits when
36 ndigits is negative.
37
38 2019-03-05 Jakub Jelinek <jakub@redhat.com>
39
40 PR libgfortran/89593
41 * caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to
42 gfc_descriptor_t * to avoid warning.
43
44 2019-02-26 Uroš Bizjak <ubizjak@gmail.com>
45
46 * io/transfer.c (transfer_array_inner): Do not
47 cast charlen to index_type.
48
49 2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org>
50
51 PR libfortran/89274
52 * io/write.c (write_integer): Add width for INTEGER(16).
53
54 2019-02-23 Paul Thomas <pault@gcc.gnu.org>
55
56 PR fortran/89385
57 PR fortran/89366
58 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
59 interchange between character and derived, the character type
60 was being set incorrectly.
61 (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
62 this function. Do not add the kind and length information to
63 the type field of structures. Lbounds were incorrectly being
64 set to zero for allocatable and pointer descriptors. Should
65 have been non-pointer, non-allocatables that received this
66 treatment.
67
68 2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
69
70 PR libfortran/88678
71 Revert:
72 2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
73
74 PR libfortran/78314
75 * config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
76
77 2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
78
79 PR libfortran/88678
80 * config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled
81 exception flags before changing trap mode. Optimize to call
82 feenableexcept and fedisableexcept only once.
83
84 2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
85
86 * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
87
88 2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
89
90 PR libfortran/89020
91 * io/close.c (st_close): Simplify text of error message to not
92 presume a specific cause of failure to remove file.
93
94 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
95
96 PR libfortran/89020
97 * io/close.c (st_close): Fix typo.
98
99 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
100
101 PR libfortran/89020
102 * io/close.c (st_close): Generate error if calls to 'remove' return
103 an error.
104
105 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
106 Kwok Cheung Yeung <kcy@codesourcery.com>
107 Julian Brown <julian@codesourcery.com>
108 Tom de Vries <tom@codesourcery.com>
109
110 * configure.ac: Use minimal mode for amdgcn.
111 * configure: Regenerate.
112
113 2019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
114
115 PR libfortran/88776
116 * io/open.c (newunit): Free format buffer if the unit specified is for
117 stdin, stdout, or stderr.
118
119 2019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
120
121 PR libfortran/88776
122 * io/list_read.c (namelist_read): Use nml_err_ret path on read error
123 not based on stdin_unit.
124
125 2019-01-12 Paul Thomas <pault@gcc.gnu.org>
126
127 * ISO_Fortran_binding.h : New file.
128 * Makefile.am : Include ISO_Fortran_binding.c in the list of
129 files to compile.
130 * Makefile.in : Regenerated.
131 * gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc,
132 _gfortran_gfc_desc_to_cfi_desc and the CFI API functions.
133 * runtime/ISO_Fortran_binding.c : New file containing the new
134 functions added to the map.
135
136 2019-01-12 Jakub Jelinek <jakub@redhat.com>
137
138 PR libfortran/88807
139 * m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings.
140 * generated/minloc0_4_i1.c: Regenerated.
141 * generated/minloc0_4_i2.c: Regenerated.
142 * generated/minloc0_4_i4.c: Regenerated.
143 * generated/minloc0_4_i8.c: Regenerated.
144 * generated/minloc0_4_i16.c: Regenerated.
145 * generated/minloc0_4_r4.c: Regenerated.
146 * generated/minloc0_4_r8.c: Regenerated.
147 * generated/minloc0_4_r10.c: Regenerated.
148 * generated/minloc0_4_r16.c: Regenerated.
149 * generated/minloc0_8_i1.c: Regenerated.
150 * generated/minloc0_8_i2.c: Regenerated.
151 * generated/minloc0_8_i4.c: Regenerated.
152 * generated/minloc0_8_i8.c: Regenerated.
153 * generated/minloc0_8_i16.c: Regenerated.
154 * generated/minloc0_8_r4.c: Regenerated.
155 * generated/minloc0_8_r8.c: Regenerated.
156 * generated/minloc0_8_r10.c: Regenerated.
157 * generated/minloc0_8_r16.c: Regenerated.
158 * generated/minloc0_16_i1.c: Regenerated.
159 * generated/minloc0_16_i2.c: Regenerated.
160 * generated/minloc0_16_i4.c: Regenerated.
161 * generated/minloc0_16_i8.c: Regenerated.
162 * generated/minloc0_16_i16.c: Regenerated.
163 * generated/minloc0_16_r4.c: Regenerated.
164 * generated/minloc0_16_r8.c: Regenerated.
165 * generated/minloc0_16_r10.c: Regenerated.
166 * generated/minloc0_16_r16.c: Regenerated.
167
168 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
169
170 PR other/16615
171 * caf/single.c: Mechanically replace "can not" with "cannot".
172 * io/unit.c: Likewise.
173
174 2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
175 Harald Anlauf <anlauf@gmx.de>
176 Tobias Burnus <burnus@gcc.gnu.org>
177
178 PR fortran/45424
179 * Makefile.am: Add intrinsics/is_contiguous.c.
180 * Makefile.in: Regenerated.
181 * gfortran.map: Add _gfortran_is_contiguous0.
182 * intrinsics/is_contiguous.c: New file.
183 * libgfortran.h: Add prototype for is_contiguous0.
184
185 2019-01-07 Janne Blomqvist <jb@gcc.gnu.org>
186
187 * gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
188 GFORTRAN_8.
189
190 2019-01-01 Jakub Jelinek <jakub@redhat.com>
191
192 Update copyright years.
193 \f
194 Copyright (C) 2019 Free Software Foundation, Inc.
195
196 Copying and distribution of this file, with or without modification,
197 are permitted in any medium without royalty provided the copyright
198 notice and this notice are preserved.