]> gcc.gnu.org Git - gcc.git/blob - gcc/fortran/ChangeLog
gfortran.h (gfc_option_t): Add rtcheck.
[gcc.git] / gcc / fortran / ChangeLog
1 2009-03-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2 Paul Thomas <pault@gcc.gnu.org>
3 Tobias Burnus <burnus@net-b.de>
4
5 * gfortran.h (gfc_option_t): Add rtcheck.
6 * lang.opt: New option -fruntime-check.
7 * libgfortran.h: Add GFC_RTCHECK_* constants.
8 * invoke.texi: Document -fruntime-check.
9 * options.c (gfc_handle_runtime_check_option): New function.
10 (gfc_init_options,gfc_post_options,gfc_handle_option):
11 Add -fruntime-check option.
12
13 2009-03-27 Richard Guenther <rguenther@suse.de>
14
15 * trans-array.c (gfc_conv_descriptor_data_addr): Use
16 gfc_build_addr_expr instead of build_fold_addr_expr.
17 (gfc_trans_allocate_array_storage, gfc_trans_array_constructor_value,
18 gfc_trans_constant_array_constructor, gfc_conv_array_data,
19 gfc_conv_expr_descriptor, gfc_conv_array_parameter): Likewise.
20 * trans-expr.c (gfc_conv_missing_dummy, gfc_conv_variable,
21 gfc_conv_function_val, gfc_conv_operator_assign,
22 gfc_conv_subref_array_arg, gfc_conv_function_call,
23 gfc_conv_expr_reference, gfc_trans_scalar_assign): Likewise.
24 * trans-intrinsic.c (gfc_conv_intrinsic_exponent,
25 gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate,
26 gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax_char,
27 gfc_conv_intrinsic_fraction, gfc_conv_intrinsic_spacing,
28 gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_set_exponent,
29 gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer,
30 gfc_conv_intrinsic_si_kind, gfc_conv_intrinsic_trim): Likewise.
31 * trans-io.c (gfc_trans_io_runtime_check, set_parameter_ref,
32 gfc_convert_array_to_string, gfc_trans_open, gfc_trans_close,
33 build_filepos, gfc_trans_inquire, gfc_trans_wait,
34 nml_get_addr_expr, transfer_namelist_element, build_dt,
35 gfc_trans_dt_end, transfer_array_component, transfer_expr,
36 transfer_array_desc, gfc_trans_transfer): Likewise.
37 * trans-stmt.c (gfc_trans_allocate, gfc_trans_deallocate): Likewise.
38 * trans.c (gfc_build_addr_expr): Mark the base of the address
39 TREE_ADDRESSABLE.
40
41 2009-03-27 Tobias Burnus <burnus@net-b.de>
42
43 * gfortran.h (enum init_local_real.): Add GFC_INIT_REAL_SNAN.
44 (gfc_expr): Add is_snan.
45 * trans-const.c (gfc_conv_mpfr_to_tree): Support SNaN.
46 (gfc_conv_constant_to_tree): Update call to gfc_conv_mpfr_to_tree.
47 * trans-const.h (gfc_conv_mpfr_to_tree): Update prototype.
48 * resolve.c (build_default_init_expr): Update call.
49 * target-memory.c (encode_float): Ditto.
50 * trans-intrinsic.c (gfc_conv_intrinsic_aint,gfc_conv_intrinsic_mod,
51
52 2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
53
54 * lang.opt: Unify help texts for -I, -Wconversion, -d, -fopenmp,
55 and -fpreprocessed.
56
57 2009-03-06 Alexandre Oliva <aoliva@redhat.com>
58
59 * simplify.c (gfc_simplify_transfer): Zero-initialize the
60 buffer.
61
62 2009-02-27 Tobias Burnus <burnus@net-b.de>
63
64 PR fortran/39309
65 * module.c (read_md5_from_module_file): Add missing quote.
66
67 2009-02-27 Tobias Burnus <burnus@net-b.de>
68
69 PR fortran/39309
70 * module.c (read_md5_from_module_file): Include mod version
71 in had-changed test.
72
73 2009-02-26 Paul Thomas <pault@gcc.gnu.org>
74
75 PR fortran/39295
76 * interface.c (compare_type_rank_if): Return 1 if the symbols
77 are the same and deal with external procedures where one is
78 identified to be a function or subroutine by usage but the
79 other is not.
80
81 2009-02-26 Paul Thomas <pault@gcc.gnu.org>
82
83 PR fortran/39292
84 * trans-array.c (gfc_conv_array_initializer): Convert all
85 expressions rather than ICEing.
86
87 2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org>
88
89 PR fortran/38914
90 * array.c (ref_dimen_size): Rename to gfc_ref_dimen_size,
91 make global. Change function name in error messages.
92 (ref_size): Change ref_dimen_size to gfc_ref_dimen_size.
93 (gfc_array_ref_shape): Likewise.
94 * gfortran.h: Add prototype for gfc_ref_dimen_size.
95 * simplify.c (simplify_bound_dim): Add ref argument.
96 If the reference isn't a full array, return one for
97 the lower bound and the extent for the upper bound.
98 (simplify_bound): For array sections, take as from the
99 argument. Add reference to all to simplify_bound_dim.
100
101 2009-02-19 Daniel Franke <franke.daniel@gmail.com>
102
103 * scanner.c (load_line): At end of line, skip '\r' without setting
104 the truncation flag.
105
106 2009-02-18 Daniel Kraft <d@domob.eu>
107
108 * gfortran.texi: New chapter about compiler characteristics.
109 (Compiler Characteristics): Document KIND type parameters here.
110
111 2009-02-18 Tobias Burnus <burnus@net-b.de>
112
113 * intrinsic.texi (MALLOC): Make example more portable.
114
115 2009-02-13 Mikael Morin <mikael.morin@tele2.fr>
116
117 PR fortran/38259
118 * module.c (gfc_dump_module,gfc_use_module): Add module
119 version number.
120
121 2009-02-13 Paul Thomas <pault@gcc.gnu.org>
122
123 PR fortran/36703
124 PR fortran/36528
125 * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer
126 function references to ensure that a valid expression is used.
127 (gfc_conv_function_call): Pass Cray pointers to procedures.
128
129 2009-02-03 Jakub Jelinek <jakub@redhat.com>
130
131 * gfortranspec.c (lang_specific_driver): Update copyright notice
132 dates.
133
134 2009-01-28 Paul Thomas <pault@gcc.gnu.org>
135
136 PR fortran/38852
137 PR fortran/39006
138 * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
139 descriptor ubound for UBOUND, when the array lbound == 1.
140
141 2009-01-27 Daniel Kraft <d@domob.eu>
142
143 PR fortran/38883
144 * trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary
145 for the real type needed to make it work for subcomponent-references.
146
147 2009-01-21 Daniel Kraft <d@domob.eu>
148
149 * trans-stmt.c (gfc_conv_elemental_dependencies): Cleaned up comment.
150
151 2009-01-20 Paul Thomas <pault@gcc.gnu.org>
152
153 PR fortran/38907
154 * resolve.c (check_host_association): Remove the matching to
155 correct an incorrect host association and use manipulation of
156 the expression instead.
157
158 2009-01-20 Tobias Burnus <burnus@net-b.de>
159
160 * invoke.texi (RANGE): RANGE also takes INTEGER arguments.
161
162 2009-01-19 Mikael Morin <mikael.morin@tele2.fr>
163
164 PR fortran/38859
165 * simplify.c (simplify_bound): Don't use array specification
166 if variable or component has subsequent references.
167
168 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
169
170 PR fortran/38657
171 * module.c (write_common_0): Add argument 'this_module' and
172 check that non-use associated common blocks are written first.
173 (write_common): Call write_common_0 twice, once with true and
174 then with false.
175
176 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
177
178 PR fortran/34955
179 * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
180 been absorbed into gfc_conv_intrinsic_transfer. All
181 references to it in trans-intrinsic.c have been changed
182 accordingly. PR fixed by using a temporary for scalar
183 character transfer, when the source is shorter than the
184 destination.
185
186 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
187
188 PR fortran/38657
189 * module.c (write_common_0): Revert patch of 2009-01-05.
190
191 2009-01-16 Janus Weil <janus@gcc.gnu.org>
192
193 PR fortran/38152
194 * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
195 pointers as lvalue.
196 * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
197 Enable procedure pointers as module variables.
198
199 2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org>
200
201 * ChangeLog-2007: Clean out svn merge droppings.
202
203 2009-01-10 Paul Thomas <pault@gcc.gnu.org>
204
205 PR fortran/38763
206 * target-memory.c (encode_derived): Encode NULL.
207
208 2009-01-10 Paul Thomas <pault@gcc.gnu.org>
209
210 PR fortran/38765
211 * resolve.c (check_host_association): Use the symtree name to
212 search for a potential contained procedure, since this is the
213 name by which it would be referenced.
214
215 2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org>
216
217 PR fortran/38220
218 * interface.c (gfc_procedure_use): Don't warn about functions
219 from ISO_C_BINDING.
220 * symbol.c (generate_isocbinding_symbol): Mark c_loc and
221 c_funloc as pure.
222
223 2009-01-05 Paul Thomas <pault@gcc.gnu.org>
224
225 PR fortran/38657
226 * module.c (write_common_0): Use the name of the symtree rather
227 than the common block, to determine if the common has been
228 written.
229
230 2009-01-05 Daniel Franke <franke.daniel@gmail.com>
231
232 PR fortran/37159
233 * check.c (gfc_check_random_seed): Added size check for GET
234 dummy argument, reworded error messages to follow common pattern.
235
236 2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
237
238 PR fortran/38672
239 * trans-types.c (gfc_get_derived_type): Check for the
240 presence of derived->ns->proc_name before
241 accessing derived->ns->proc_name->attr.flavor .
242 * resolve.c (resolve_symbol): Likewise.
243
244 2009-01-05 Paul Thomas <pault@gcc.gnu.org>
245
246 PR fortran/38665
247 * gfortran.h : Add bit to gfc_expr 'user_operator'
248 * interface.c (gfc_extend_expr): Set the above if the operator
249 is substituted by a function.
250 * resolve.c (check_host_association): Return if above is set.
251
252 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>
253
254 PR fortran/35681
255 * ChangeLog-2008: Fix function name.
256
257 PR fortran/38487
258 * dependency.c (gfc_check_argument_var_dependency):
259 Move the check for pointerness inside the if block
260 so that it doesn't affect the return value.
261
262 PR fortran/38669
263 * trans-stmt.c (gfc_trans_call):
264 Add the dependency code after the loop bounds calculation one.
265
266 2009-01-04 Daniel Franke <franke.daniel@gmail.com>
267
268 * intrinsic.c (do_simplify): Removed already implemented TODO.
269
270 2009-01-04 Daniel Franke <franke.daniel@gmail.com>
271
272 PR fortran/38718
273 * simplify.c (gfc_simplify_merge): New.
274 * intrinsic.h (gfc_simplify_merge): New prototype.
275 * intrinsic.c (add_functions): Added simplification for MERGE.
276
277 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>
278
279 PR fortran/38536
280 * gfortran.h (gfc_is_data_pointer): Added prototype
281 * resolve.c (gfc_iso_c_func_interface):
282 Use gfc_is_data_pointer to test for pointer attribute.
283 * dependency.c (gfc_is_data_pointer):
284 Support pointer-returning functions.
285
286 2009-01-03 Daniel Franke <franke.daniel@gmail.com>
287
288 * symbol.c (save_symbol): Don't SAVE function results.
289
290 2009-01-03 Paul Thomas <pault@gcc.gnu.org>
291
292 PR fortran/38594
293 * resolve.c (resolve_call): When searching for proper host
294 association, use symtree rather than symbol. For everything
295 except generic subroutines, substitute the symtree in the call
296 rather than the symbol.
This page took 0.051195 seconds and 6 git commands to generate.