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