]>
Commit | Line | Data |
---|---|---|
297fd295 | 1 | 2019-01-24 Paul Thomas <pault@gcc.gnu.org> |
2 | ||
3 | PR fortran/88929 | |
4 | * trans-array.c (gfc_conv_descriptor_elem_len): New function. | |
5 | * trans-array.h : Add prototype for above. | |
6 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Take account of | |
7 | assumed rank arrays being flagged by rank = -1 in expressions. | |
8 | Intent in arrays need a pointer to a copy of the data to be | |
9 | assigned to the descriptor passed for conversion. This should | |
10 | then be freed, together with the CFI descriptor on return from | |
11 | the C call. | |
12 | ||
4348a41f | 13 | 2019-01-22 Harald Anlauf <anlauf@gmx.de> |
14 | ||
15 | PR fortran/88579 | |
16 | * trans-expr.c (gfc_conv_power_op): Handle cases of (2**e) ** integer | |
17 | and (- 2**e) ** integer. | |
18 | ||
c81c2702 | 19 | 2019-01-19 Dominique d'Humieres <dominiq@gcc.gnu.org> |
20 | ||
21 | PR fortran/37835 | |
22 | * resolve.c (resolve_types): Add !flag_automatic. | |
23 | * symbol.c (gfc_add_save): Silence warnings. | |
24 | ||
19081b87 | 25 | 2019-01-19 Steven G. Kargl <kargl@gcc.gnu.org> |
26 | ||
27 | PR fortran/77960 | |
28 | * io.c (match_io_element): input-item cannot be an external function. | |
4348a41f | 29 | |
b7e6520a | 30 | 2018-01-19 Thomas Koenig <tkoenig@gcc.gnu.org> |
31 | Paul Thomas <pault@gcc.gnu.org> | |
32 | ||
33 | PR fortran/56789 | |
34 | * trans-expr.c (gfc_conv_procedure_call): Call | |
35 | gfc_conv_subref_array_arg if the formal arg is contiguous | |
36 | and the actual arg may not be. | |
37 | ||
66f2cfae | 38 | 2019-01-17 Thomas Koenig <tkoenig@gcc.gnu.org> |
39 | ||
40 | PR fortran/88871 | |
41 | * resolve.c (resolve_ref): Fix logic for removal of | |
42 | reference. | |
43 | ||
7b60c131 | 44 | 2019-01-19 Jakub Jelinek <jakub@redhat.com> |
45 | ||
46 | PR fortran/88902 | |
47 | * trans-decl.c (gfc_get_symbol_decl): Don't add length to function | |
48 | or parent function if it has been added there already. | |
49 | ||
0b953692 | 50 | 2019-01-15 Thomas Koenig <tkoenig@gcc.gnu.org> |
51 | ||
a96be852 | 52 | PR fortran/43136 |
0b953692 | 53 | * resolve.c (resolve_array_ref): Add equal_length argument; set it |
54 | if the length of the substring equals that of the orignal | |
55 | variable. | |
56 | (resolve_ref): Remove the substring if it is equal in length to | |
57 | the original variable, unless it is an EXPR_SUBSTRING). | |
58 | ||
ef1b2a98 | 59 | 2019-01-15 Steven G. Kargl <kargl@gcc.gnu.org> |
60 | ||
61 | PR fortran/81849 | |
62 | * resolve.c (resolve_symbol): Host associated varaibles can appear | |
63 | in the specification statement of a RESULT array. | |
64 | ||
8f563733 | 65 | 2019-01-15 Paul Thomas <pault@gcc.gnu.org> |
66 | ||
67 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Deal with exprs | |
68 | that are indirect references; ie. dummy arguments. | |
69 | ||
0cc7cbe4 | 70 | 2019-01-13 Dominique d'Humieres <dominiq@gcc.gnu.org> |
71 | ||
72 | PR fortran/88803 | |
73 | * gfortran.texi: Replace @xref with @ref and adjust the sentence. | |
74 | ||
70409dee | 75 | 2019-01-13 Thomas Koenig <tkoenig@gcc.gnu.org> |
76 | ||
77 | PR fortran/57992 | |
7b60c131 | 78 | * trans-array.c (gfc_conv_array_parameter): Do not pack/unpack |
70409dee | 79 | functions with contiguous results. |
80 | ||
ae57d8c7 | 81 | 2019-01-13 Thomas Koenig <tkoenig@gcc.gnu.org> |
82 | ||
83 | PR fortran/59345 | |
84 | * trans-array.c (gfc_conv_array_parameter): Remove TODO. Do not | |
85 | pack/unpack results of functions which return an explicit-shaped | |
86 | or allocatable array. | |
87 | ||
c8f3fe68 | 88 | 2019-01-12 Steven G. Kargl <kargl@gcc.gnu.org> |
89 | ||
90 | PR fortran/61765 | |
91 | * resolve.c (gfc_verify_binding_labels): Break if-elseif-elseif | |
92 | structure into independent if's with a return to simplify logic. | |
93 | Avoid a check for ENTRY name with bind(c). | |
94 | ||
77ddff12 | 95 | 2019-01-12 Paul Thomas <pault@gcc.gnu.org> |
96 | ||
7b60c131 | 97 | * gfortran.texi: Add description in sections on TS 29113 and |
77ddff12 | 98 | further interoperability with C. |
99 | * trans-array.c (gfc_conv_descriptor_attribute): New function. | |
100 | (gfc_get_dataptr_offset): Remove static function attribute. | |
7b60c131 | 101 | * trans-array.h: Add prototypes for above functions. |
102 | * trans-decl.c: Add declarations for the library functions | |
77ddff12 | 103 | cfi_desc_to_gfc_desc and gfc_desc_to_cfi_desc. |
104 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): New function. | |
105 | (gfc_conv_procedure_call): Call it for scalar and array actual | |
106 | arguments, when the formal arguments are bind_c with assumed | |
107 | shape or assumed rank. | |
7b60c131 | 108 | * trans.h: External declarations for gfor_fndecl_cfi_to_gfc |
77ddff12 | 109 | and gfor_fndecl_gfc_to_cfi. |
110 | ||
0e8475b7 | 111 | 2019-01-11 Steven G. Kargl <kargl@gcc.gnu.org> |
112 | ||
113 | PR fortran/35031 | |
114 | * decl.c (gfc_match_entry): Check for F2018:C1546. Fix nearby | |
115 | mis-indentation. | |
116 | ||
45b37eaa | 117 | 2019-01-11 Jakub Jelinek <jakub@redhat.com> |
118 | ||
119 | PR middle-end/85956 | |
120 | PR lto/88733 | |
121 | * trans-openmp.c: Include attribs.h. | |
122 | (gfc_walk_alloc_comps, gfc_omp_clause_linear_ctor): Handle | |
123 | VAR_DECL max bound with "omp dummy var" attribute like NULL or | |
124 | error_mark_node - recompute number of elts independently. | |
125 | ||
04afaf6a | 126 | 2019-01-11 Thomas Koenig <tkoenig@gcc.gnu.org> |
127 | ||
128 | PR fortran/59345 | |
45b37eaa | 129 | * trans-array.c (gfc_conv_parameter_array): Temporary |
04afaf6a | 130 | arrays generated for expressions do not need to be repacked. |
131 | ||
15cbe83d | 132 | 2019-01-10 Steven G. Kargl <kargl@gcc.gnu.org> |
133 | ||
134 | PR fortran/86322 | |
135 | * decl.c (top_var_list): Set locus of expr. | |
136 | (gfc_match_data): Detect pointer on non-rightmost part-refs. | |
137 | ||
e66b219e | 138 | 2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org> |
139 | ||
140 | PR fortran/88376 | |
141 | * resolve.c (is_illegal_recursion): Remove an assert(). | |
142 | ||
07c11f2b | 143 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
144 | ||
145 | PR other/16615 | |
07c11f2b | 146 | * expr.c: Change "can not" to "cannot". |
147 | ||
f4d3c071 | 148 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
149 | ||
150 | PR other/16615 | |
f4d3c071 | 151 | * class.c: Mechanically replace "can not" with "cannot". |
152 | * decl.c: Likewise. | |
153 | * expr.c: Likewise. | |
154 | * gfc-internals.texi: Likewise. | |
155 | * intrinsic.texi: Likewise. | |
156 | * invoke.texi: Likewise. | |
157 | * io.c: Likewise. | |
158 | * match.c: Likewise. | |
159 | * parse.c: Likewise. | |
160 | * primary.c: Likewise. | |
161 | * resolve.c: Likewise. | |
162 | * symbol.c: Likewise. | |
163 | * trans-array.c: Likewise. | |
164 | * trans-decl.c: Likewise. | |
165 | * trans-intrinsic.c: Likewise. | |
166 | * trans-stmt.c: Likewise. | |
167 | ||
9f096803 | 168 | 2019-01-09 Thomas Koenig <tkoenig@gcc.gnu.org> |
169 | ||
170 | PR fortran/68426 | |
171 | * simplify.c (gfc_simplify_spread): Also simplify if the | |
172 | type of source is an EXPR_STRUCTURE. | |
173 | ||
d56370db | 174 | 2019-01-08 Janus Weil <janus@gcc.gnu.org> |
175 | ||
176 | PR fortran/88047 | |
177 | * class.c (gfc_find_vtab): For polymorphic typespecs, the components of | |
178 | the class container may not be available (in case of invalid code). | |
179 | ||
ac64cdbe | 180 | 2019-01-08 Richard Biener <rguenther@suse.de> |
181 | ||
182 | PR fortran/88611 | |
183 | * trans-expr.c (gfc_conv_initializer): For ISOCBINDING_NULL_* | |
184 | directly build the expected GENERIC tree. | |
185 | ||
5f34f219 | 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 | * check.c (gfc_check_is_contiguous): New function. | |
192 | * expr.c (gfc_is_not_contiguous): New function. | |
193 | * gfortran.h (gfc_isym_id): Add GFC_ISYM_IS_CONTIGUOUS. | |
194 | Add prototype for gfc_is_not_contiguous. | |
195 | * intrinsic.c (do_ts29113_check): Add GFC_ISYM_IS_CONTIGUOUS. | |
196 | (add_function): Add is_contiguous. | |
197 | * intrinsic.h: Add prototypes for gfc_check_is_contiguous, | |
198 | gfc_simplify_is_contiguous and gfc_resolve_is_contiguous. | |
199 | * intrinsic.texi: Add IS_CONTIGUOUS. | |
200 | * iresolve.c (gfc_resolve_is_contiguous): New function. | |
201 | * simplify.c (gfc_simplify_is_contiguous): New function. | |
202 | * trans-decl.c (gfor_fncecl_is_contiguous0): New variable. | |
203 | (gfc_build_intrinsic_function_decl): Add it. | |
204 | * trans-intrinsic.c (gfc_conv_intrinsic_is_contiguous): New | |
205 | function. | |
206 | (gfc_conv_intrinsic_function): Handle GFC_ISYM_IS_CONTIGUOUS. | |
207 | ||
2abeea3d | 208 | 2019-01-06 Thomas Koenig <tkoenig@gcc.gnu.org> |
209 | ||
210 | PR fortran/88658 | |
211 | * gfortran.h: Add macro gfc_real_4_kind | |
212 | * simplify.c (simplify_min_max): Special case for the types of | |
213 | AMAX0, AMIN0, MAX1 and MIN1, which actually change the types of | |
214 | their arguments. | |
215 | ||
f2aba4ef | 216 | 2019-01-05 Janus Weil <janus@gcc.gnu.org> |
217 | ||
218 | PR fortran/88009 | |
219 | * class.c (gfc_find_derived_vtab): Mark the _final component as | |
220 | artificial. | |
221 | (find_intrinsic_vtab): Ditto. Also add an extra check to avoid | |
222 | dereferencing a null pointer and adjust indentation. | |
223 | * resolve.c (resolve_fl_variable): Add extra check to avoid | |
224 | dereferencing a null pointer. Move variable declarations to local scope. | |
225 | (resolve_fl_procedure): Add extra check to avoid dereferencing a null | |
226 | pointer. | |
227 | * symbol.c (check_conflict): Suppress errors for artificial symbols. | |
228 | ||
5055fc33 | 229 | 2019-01-01 Steven G. Kargl <kargl@gcc.gnu.org> |
230 | ||
45b37eaa | 231 | * parse.c (decode_statement): Suppress "Unclassifiable statement" |
5055fc33 | 232 | error if previous error messages were emittes. |
233 | ||
66aeaf4b | 234 | 2019-01-01 Thomas Koenig <tkoenig@gcc.gnu.org> |
235 | ||
236 | PR fortran/82743 | |
237 | * primary.c (gfc_convert_to_structure_constructor): If a character | |
238 | in a constructor is too long, add a warning with | |
239 | -Wcharacter-truncation. | |
240 | ||
3d8932fd | 241 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 242 | |
fbd26352 | 243 | Update copyright years. |
244 | ||
277184bc | 245 | * gfortranspec.c (lang_specific_driver): Update copyright notice |
246 | dates. | |
247 | * gfc-internals.texi: Bump @copying's copyright year. | |
248 | * gfortran.texi: Ditto. | |
249 | * intrinsic.texi: Ditto. | |
250 | * invoke.texi: Ditto. | |
2355cca7 | 251 | \f |
3d8932fd | 252 | Copyright (C) 2019 Free Software Foundation, Inc. |
7dfbd804 | 253 | |
254 | Copying and distribution of this file, with or without modification, | |
255 | are permitted in any medium without royalty provided the copyright | |
256 | notice and this notice are preserved. |