]> gcc.gnu.org Git - gcc.git/blob - gcc/fortran/ChangeLog
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
[gcc.git] / gcc / fortran / ChangeLog
1 2009-04-21 Joseph Myers <joseph@codesourcery.com>
2
3 * ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
4 ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
5 ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
6 copyright and license notices.
7 * ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
8 ChangeLog-2008: Correct dates.
9
10 2009-04-20 Tobias Burnus <burnus@net-b.de>
11
12 PR fortran/39811
13 * scanner.c (load_line): Fix bogus "&" compile-time diagnostic.
14
15 2009-04-20 Paul Thomas <pault@gcc.gnu.org>
16
17 PR fortran/39800
18 * resolve.c (is_sym_host_assoc): New function.
19 (resolve_fl_derived): Call it when checking PRIVATE components
20 of PUBLIC derived types. Change gfc_error to a gfc_notify_std
21 with std=f2003.
22 (resolve_fl_namelist): Call it twice to check for host
23 association.
24
25 2009-04-20 Ian Lance Taylor <iant@google.com>
26
27 * module.c (import_iso_c_binding_module): Add casts to enum type.
28 * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Change op to enum
29 tree_code.
30 (gfc_conv_intrinsic_anyall): Likewise.
31 (gfc_conv_intrinsic_arith): Likewise.
32 (gfc_conv_intrinsic_minmaxloc): Likewise.
33 (gfc_conv_intrinsic_minmaxval): Likewise.
34 (gfc_conv_intrinsic_bitop): Likewise.
35 (gfc_conv_intrinsic_singlebitop): Likewise.
36 (gfc_conv_intrinsic_strcmp): Likewise.
37
38 2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com>
39 Jakub Jelinek <jakub@redhat.com>
40
41 PR fortran/35423
42 * trans.h (OMPWS_WORKSHARE_FLAG, OMPWS_CURR_SINGLEUNIT,
43 OMPWS_SCALARIZER_WS, OMPWS_NOWAIT): Define.
44 (ompws_flags): New extern decl.
45 * trans-array.c (gfc_trans_scalarized_loop_end): Build OMP_FOR
46 for the outer dimension if ompws_flags allow it.
47 * trans.c (gfc_generate_code): Clear ompws_flags.
48 * trans-expr.c (gfc_trans_assignment_1): Allow worksharing
49 array assignments inside of !$omp workshare.
50 * trans-stmt.c (gfc_trans_where_3): Similarly for where statements
51 and constructs.
52 * trans-openmp.c (ompws_flags): New variable.
53 (gfc_trans_omp_workshare): Rewritten.
54
55 2009-04-11 Daniel Kraft <d@domob.eu>
56
57 PR fortran/37746
58 * gfortran.h (struct gfc_charlen): New field `passed_length' to store
59 the actual passed string length for dummy arguments.
60 * trans-decl.c (gfc_create_string_length): Formatting fixes and added
61 assertion, moved a local variable into the innermost block it is needed.
62 (create_function_arglist): Removed TODO about the check being
63 implemented and initialize cl->passed_length here.
64 (add_argument_checking): New method.
65 (gfc_generate_function_code): Call the argument checking method.
66
67 2009-04-11 Janus Weil <janus@gcc.gnu.org>
68
69 PR fortran/39692
70 * symbol.c (check_conflict): Reject procedure pointers for -std=f95.
71
72 2009-04-11 Daniel Franke <franke.daniel@gmail.com>
73
74 * resolve.c (resolve_global_procedure): Enable whole-file checking for
75 procedures that are declared later in the file.
76
77 2009-04-10 Paolo Bonzini <bonzini@gnu.org>
78
79 PR middle-end/39701
80 * trans.c (gfc_allocate_with_status): Fix type mismatches
81 on "pstat == 0".
82
83 2009-04-10 Daniel Franke <franke.daniel@gmail.com>
84
85 PR fortran/38709
86 * expr.c (find_array_section): Leave early on zero-sized arrays.
87
88 2009-04-09 Janus Weil <janus@gcc.gnu.org>
89
90 PR fortran/36704
91 * decl.c (add_hidden_procptr_result): New function for handling
92 procedure pointer return values by adding a hidden result variable.
93 (variable_decl,match_procedure_decl,gfc_match_function_decl,
94 gfc_match_subroutine,gfc_match_end,attr_decl1): Handle procedure pointer
95 return values.
96 * parse.c (parse_interface): Add EXTERNAL attribute only after
97 FUNCTION/SUBROUTINE declaration is complete.
98 * primary.c (replace_hidden_procptr_result): New function for replacing
99 function symbol by hidden result variable.
100 (gfc_match_rvalue,match_variable): Replace symbol by hidden result
101 variable.
102 * resolve.c (resolve_contained_fntype,resolve_function,resolve_variable,
103 resolve_symbol): Allow for procedure pointer function results.
104 (resolve_fl_procedure): Conflict detection moved here from
105 'check_conflict'.
106 * symbol.c (gfc_check_function_type): Allow for procedure pointer
107 function results.
108 (check_conflict): Move some conflict detection to resolution stage.
109 * trans-types.c (gfc_sym_type,gfc_get_function_type): Handle hidden
110 result variables.
111
112 2009-04-08 Jakub Jelinek <jakub@redhat.com>
113
114 * trans-types.c (gfc_init_types): Ensure gfc_integer_types doesn't
115 contain TYPE_STRING_FLAG types.
116
117 2009-04-08 Janne Blomqvist <jb@gcc.gnu.org>
118
119 PR fortran/39670
120 * invoke.texi (fdollar-ok): Fix typo.
121
122 2009-04-08 Daniel Franke <franke.daniel@gmail.com>
123
124 PR fortran/39670
125 * invoke.texi (fdollar-ok): Clarify limitations.
126
127 2009-04-08 Paul Thomas <pault@gcc.gnu.org>
128
129 PR fortran/38863
130 * trans-array.c (gfc_trans_deferred_array): Return if this
131 is a result variable.
132
133 2009-04-07 Janus Weil <janus@gcc.gnu.org>
134
135 PR fortran/38152
136 * trans-decl.c (gfc_get_symbol_decl): Correctly set decl location for
137 procedure pointer decls.
138
139 2009-04-07 Janus Weil <janus@gcc.gnu.org>
140
141 PR fortran/38290
142 * expr.c (gfc_check_pointer_assign): Enable interface check for
143 procedure pointers.
144 * gfortran.h: Add copy_formal_args_intr.
145 * interface.c (gfc_compare_interfaces): Call gfc_compare_intr_interfaces
146 if second argument is an intrinsic.
147 (compare_intr_interfaces): Correctly set attr.function, attr.subroutine
148 and ts.
149 (compare_parameter): Call gfc_compare_interfaces also for intrinsics.
150 * resolve.c (resolve_specific_f0,resolve_specific_s0): Don't resolve
151 intrinsic interfaces here. Must happen earlier.
152 (resolve_symbol): Resolution of intrinsic interfaces moved here from
153 resolve_specific_..., and formal args are now copied from intrinsic
154 interfaces.
155 * symbol.c (copy_formal_args_intr): New function to copy the formal
156 arguments from an intinsic procedure.
157
158 2009-04-06 Paul Thomas <pault@gcc.gnu.org>
159
160 PR fortran/38863
161 * dependency.c (ref_same_as_full_array): New function.
162 (gfc_dep_resolver): Call it.
163
164 2009-04-06 Janus Weil <janus@gcc.gnu.org>
165
166 PR fortran/39414
167 * decl.c (match_procedure_decl): Fix double declaration problems with
168 PROCEDURE statements.
169 * symbol.c (gfc_add_type): Ditto.
170
171 2009-04-06 Paul Thomas <pault@gcc.gnu.org>
172
173 PR fortran/36091
174 * trans-array.c (gfc_conv_array_ref): If the symbol has the
175 temporary attribute use the array_spec for the bounds.
176 * gfortran.h : Add the temporary field to the structure
177 'symbol_attribute'.
178 * trans-stmt.c (forall_make_variable_temp): Set the symbol's
179 temporary attribute.
180
181 2009-04-05 Daniel Franke <franke.daniel@gmail.com>
182
183 PR fortran/29458
184 * trans-array.c (gfc_trans_array_constructor_value): Shadow
185 implied do-loop variable to avoid spurious middle-end warnings.
186
187 2009-04-04 Tobias Burnus <burnus@net-b.de>
188
189 PR fortran/39577
190 * trans-decl.c (gfc_generate_function_code): Move recursive
191 check to the right position.
192
193 2009-04-04 Paul Thomas <pault@gcc.gnu.org>
194
195 PR fortran/37614
196 * trans-common.c (translate_common): Do not offset the whole
197 coomon block.
198
199 2009-04-03 Tobias Burnus <burnus@net-b.de>
200
201 PR fortran/39594
202 * resolve.c (resolve_common_vars): Add FL_VARIABLE to symbol
203 if it is not a procedure pointer.
204 * primary.c (match_actual_arg): Ditto.
205
206 2009-03-31 Joseph Myers <joseph@codesourcery.com>
207
208 PR preprocessor/15638
209 * cpp.c (cb_cpp_error): Handle CPP_DL_FATAL.
210
211 2009-03-30 Steven G. Kargl <kargls@comcast.net>
212
213 PR fortran/38389
214 * trans-stmt.c(gfc_trans_allocate): Add translation of ERRMSG.
215 (gfc_trans_deallocate): Add translation of ERRMSG. Remove stale
216 comments. Minor whitespace cleanup.
217 * resolve.c(is_scalar_expr_ptr): Whitespace cleanup.
218 (resolve_deallocate_expr (gfc_expr *e): Update error message.
219 (resolve_allocate_expr): Remove dead code. Update error message.
220 Move error checking to ...
221 (resolve_allocate_deallocate): ... here. Add additional error
222 checking for STAT, ERRMSG, and allocate-objects.
223 * match.c(gfc_match_allocate,gfc_match_deallocate): Parse ERRMSG.
224 Check for redundant uses of STAT and ERRMSG. Reword error message
225 and add checking for pointer, allocatable, and proc_pointer attributes.
226
227 2009-03-30 Paul Thomas <pault@gcc.gnu.org>
228
229 PR fortran/22571
230 PR fortran/26227
231 PR fortran/24886
232 * symbol.c : Add gfc_global_ns_list.
233 * decl.c (add_global_entry): Set the namespace ('ns') field.
234 * gfortran.h : Add the resolved field to gfc_namespace. Add the
235 namespace ('ns') field to gfc_gsymbol. Add flag_whole_file to
236 gfc_option_t. Add the prototype for gfc_free_dt_list.
237 * lang.opt : Add the whole-file option.
238 * invoke.texi : Document the whole-file option.
239 * resolve.c (resolve_global_procedure): If the fwhole-file
240 option is set, reorder gsymbols to ensure that translation is
241 in the right order. Resolve the gsymbol's namespace if that
242 has not occurred and then check interfaces.
243 (resolve_function): Move call to resolve_global_procedure.
244 (resolve_call): The same.
245 (resolve_codes): Store the current labels_obstack.
246 (gfc_resolve) : Return if the namespace is already resolved.
247 trans-decl.c (gfc_get_extern_function_decl): If the whole_file
248 option is selected, use the backend_decl of a gsymbol, if it is
249 available.
250 parse.c (add_global_procedure, add_global_program): If the flag
251 whole-file is set, add the namespace to the gsymbol.
252 (gfc_parse_file): On -fwhole-file, put procedure namespaces on
253 the global namespace list. Rearrange to do resolution of all
254 the procedures in a file, followed by their translation.
255 * options.c (gfc_init_options): Add -fwhole-file.
256 (gfc_handle_option): The same.
257
258 2009-03-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
259
260 * f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_HUGE_VAL
261 family of intrinsics instead of BUILT_IN_INF family.
262 * trans-intrinsics.c (gfc_conv_intrinsic_nearest): Use
263 BUILT_IN_HUGE_VAL instead of BUILT_IN_INF.
264
265 2009-03-30 Jakub Jelinek <jakub@redhat.com>
266
267 * trans-types.c (gfc_sym_type, gfc_return_by_reference): For
268 sym->attr.result check sym->ns->proc_name->attr.is_bind_c.
269
270 2009-03-30 Joseph Myers <joseph@codesourcery.com>
271
272 PR rtl-optimization/323
273 * options.c (gfc_post_options): Set
274 flag_excess_precision_cmdline. Give an error for
275 -fexcess-precision=standard for processors where the option is
276 significant.
277
278 2009-03-29 Joseph Myers <joseph@codesourcery.com>
279
280 PR preprocessor/34695
281 * cpp.c (cb_cpp_error): New.
282 (gfc_cpp_post_options): Don't set cpp_option->inhibit_warnings.
283 Don't check cpp_errors (cpp_in).
284 (gfc_cpp_init_0): Set cb->error.
285
286 2009-03-29 Steven G. Kargl <kargl@gcc.gnu.org>
287
288 PR fortran/38823
289 * gfortran.h: Add ARITH_PROHIBIT to arith enum.
290 expr.c (gfc_match_init_expr): Add global variable init_flag to
291 flag matching an initialization expression.
292 (check_intrinsic_op): Move no longer reachable error message to ...
293 * arith.c (arith_power): ... here. Remove gfc_ prefix in
294 gfc_arith_power. Use init_flag. Allow constant folding of x**y
295 when y is REAL or COMPLEX.
296 (eval_intrinsic): Remove restriction that y in x**y must be INTEGER
297 for constant folding.
298 * gfc_power: Update gfc_arith_power to arith_power
299
300 2009-03-29 Daniel Kraft <d@domob.eu>
301
302 PR fortran/37423
303 * gfortran.h (struct gfc_typebound_proc): Added new flag `deferred' and
304 added a comment explaining DEFERRED binding handling.
305 * decl.c (match_binding_attributes): Really match DEFERRED attribute.
306 (match_procedure_in_type): Really match PROCEDURE(interface) syntax
307 and do some validity checks for DEFERRED and this construct.
308 * module.c (binding_overriding): New string constant for DEFERRED.
309 (mio_typebound_proc): Module-IO DEFERRED flag.
310 * resolve.c (check_typebound_override): Ensure that a non-DEFERRED
311 binding is not overridden by a DEFERRED one.
312 (resolve_typebound_procedure): Allow abstract interfaces as targets
313 for DEFERRED bindings.
314 (ensure_not_abstract_walker), (ensure_not_abstract): New methods.
315 (resolve_fl_derived): Use new `ensure_not_abstract' method for
316 non-ABSTRACT types extending ABSTRACT ones to ensure each DEFERRED
317 binding is overridden.
318 (check_typebound_baseobject): New method.
319 (resolve_compcall), (resolve_typebound_call): Check base-object of
320 the type-bound procedure call.
321 * gfc-internals.texi (Type-bound procedures): Document a little bit
322 about internal handling of DEFERRED bindings.
323
324 2009-03-29 Tobias Schlüter <tobi@gcc.gnu.org>
325
326 PR fortran/38507
327 * gfortran.h (gfc_st_label): Fix comment.
328 (gfc_exec_op): Add statement code EXEC_END_BLOCK for end of block.
329 * parse.c (accept_statement): Use EXEC_END_BLOCK for END IF and
330 END SELECT with labels.
331 (check_do_closure): Fix formatting.
332 (parse_do_block): Fix typo in error message.
333 * resolve.c (code_stack): Remove tail member. Update comment to
334 new use of reachable_labels.
335 (reachable_labels): Rename to ...
336 (find_reachable_labels): ... this. Overhaul. Update preceding
337 comment.
338 (resolve_branch): Fix comment preceding function. Rewrite.
339 (resolve_code): Update call to find_reachable_labels. Add code to
340 deal with EXEC_END_BLOCK.
341 * st.c (gfc_free_statement): Add code to deal with EXEC_END_BLOCK.
342 Add 2009 to copyright years.
343 * trans.c (gfc_trans_code): Likewise on both counts.
344
345 2009-03-31 Paul Thomas <pault@gcc.gnu.org>
346
347 PR fortran/38917
348 * expr.c (gfc_check_assign): Allow pointer components when
349 checking for NULL.
350
351 PR fortran/38918
352 * resolve.c (check_data_variable): Treat pointer arrays with
353 scalars.
354
355 2009-03-31 Paul Thomas <pault@gcc.gnu.org>
356
357 PR fortran/38915
358 * trans-expr.c (gfc_trans_assignment_1): Ensure temporaries
359 have a string_length.
360
361 2009-03-28 Tobias Burnus <burnus@net-b.de>
362
363 PR fortran/34656
364 * trans-stmt.c (gfc_trans_simple_do, gfc_trans_do):
365 Add GFC_RTCHECK_DO support.
366 * option.c (gfc_handle_runtime_check_option): Enable GFC_RTCHECK_DO.
367 * invoke.texi (-fcheck): Document "do" option.
368
369 2009-03-28 Paul Thomas <pault@gcc.gnu.org>
370
371 PR fortran/38538
372 * trans-array.c (get_elemental_fcn_charlen): Remove.
373 (get_array_charlen): New function to replace previous.
374
375 2009-03-28 Paul Thomas <pault@gcc.gnu.org>
376
377 PR fortran/38765
378 * parse.c (parse_derived): Do not break on finding pointer,
379 allocatable or private components.
380
381 2009-03-28 Tobias Burnus <burnus@net-b.de>
382
383 PR fortran/32626
384 * option.c (gfc_handle_runtime_check_option): Enable recursion check.
385 * trans-decl.c (gfc_generate_function_code): Add recursion check.
386 * invoke.texi (-fcheck): Add recursive option.
387
388 2009-03-28 Tobias Burnus <burnus@net-b.de>
389
390 PR fortran/38432
391 * resolve.c (gfc_resolve_iterator): Add zero-loop warning.
392
393 2009-03-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
394 Paul Thomas <pault@gcc.gnu.org>
395 Tobias Burnus <burnus@net-b.de>
396
397 * gfortran.h (gfc_option_t): Add rtcheck.
398 * lang.opt: New option -fcheck.
399 * libgfortran.h: Add GFC_RTCHECK_* constants.
400 * invoke.texi: Document -fcheck.
401 * options.c (gfc_handle_runtime_check_option): New function.
402 (gfc_init_options,gfc_post_options,gfc_handle_option):
403 Add -fcheck option.
404
405 2009-03-27 Richard Guenther <rguenther@suse.de>
406
407 * trans-array.c (gfc_conv_descriptor_data_addr): Use
408 gfc_build_addr_expr instead of build_fold_addr_expr.
409 (gfc_trans_allocate_array_storage, gfc_trans_array_constructor_value,
410 gfc_trans_constant_array_constructor, gfc_conv_array_data,
411 gfc_conv_expr_descriptor, gfc_conv_array_parameter): Likewise.
412 * trans-expr.c (gfc_conv_missing_dummy, gfc_conv_variable,
413 gfc_conv_function_val, gfc_conv_operator_assign,
414 gfc_conv_subref_array_arg, gfc_conv_function_call,
415 gfc_conv_expr_reference, gfc_trans_scalar_assign): Likewise.
416 * trans-intrinsic.c (gfc_conv_intrinsic_exponent,
417 gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate,
418 gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax_char,
419 gfc_conv_intrinsic_fraction, gfc_conv_intrinsic_spacing,
420 gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_set_exponent,
421 gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer,
422 gfc_conv_intrinsic_si_kind, gfc_conv_intrinsic_trim): Likewise.
423 * trans-io.c (gfc_trans_io_runtime_check, set_parameter_ref,
424 gfc_convert_array_to_string, gfc_trans_open, gfc_trans_close,
425 build_filepos, gfc_trans_inquire, gfc_trans_wait,
426 nml_get_addr_expr, transfer_namelist_element, build_dt,
427 gfc_trans_dt_end, transfer_array_component, transfer_expr,
428 transfer_array_desc, gfc_trans_transfer): Likewise.
429 * trans-stmt.c (gfc_trans_allocate, gfc_trans_deallocate): Likewise.
430 * trans.c (gfc_build_addr_expr): Mark the base of the address
431 TREE_ADDRESSABLE.
432
433 2009-03-27 Tobias Burnus <burnus@net-b.de>
434
435 * gfortran.h (enum init_local_real.): Add GFC_INIT_REAL_SNAN.
436 (gfc_expr): Add is_snan.
437 * trans-const.c (gfc_conv_mpfr_to_tree): Support SNaN.
438 (gfc_conv_constant_to_tree): Update call to gfc_conv_mpfr_to_tree.
439 * trans-const.h (gfc_conv_mpfr_to_tree): Update prototype.
440 * resolve.c (build_default_init_expr): Update call.
441 * target-memory.c (encode_float): Ditto.
442 * trans-intrinsic.c (gfc_conv_intrinsic_aint,gfc_conv_intrinsic_mod,
443
444 2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
445
446 * lang.opt: Unify help texts for -I, -Wconversion, -d, -fopenmp,
447 and -fpreprocessed.
448
449 2009-03-06 Alexandre Oliva <aoliva@redhat.com>
450
451 * simplify.c (gfc_simplify_transfer): Zero-initialize the
452 buffer.
453
454 2009-02-27 Tobias Burnus <burnus@net-b.de>
455
456 PR fortran/39309
457 * module.c (read_md5_from_module_file): Add missing quote.
458
459 2009-02-27 Tobias Burnus <burnus@net-b.de>
460
461 PR fortran/39309
462 * module.c (read_md5_from_module_file): Include mod version
463 in had-changed test.
464
465 2009-02-26 Paul Thomas <pault@gcc.gnu.org>
466
467 PR fortran/39295
468 * interface.c (compare_type_rank_if): Return 1 if the symbols
469 are the same and deal with external procedures where one is
470 identified to be a function or subroutine by usage but the
471 other is not.
472
473 2009-02-26 Paul Thomas <pault@gcc.gnu.org>
474
475 PR fortran/39292
476 * trans-array.c (gfc_conv_array_initializer): Convert all
477 expressions rather than ICEing.
478
479 2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org>
480
481 PR fortran/38914
482 * array.c (ref_dimen_size): Rename to gfc_ref_dimen_size,
483 make global. Change function name in error messages.
484 (ref_size): Change ref_dimen_size to gfc_ref_dimen_size.
485 (gfc_array_ref_shape): Likewise.
486 * gfortran.h: Add prototype for gfc_ref_dimen_size.
487 * simplify.c (simplify_bound_dim): Add ref argument.
488 If the reference isn't a full array, return one for
489 the lower bound and the extent for the upper bound.
490 (simplify_bound): For array sections, take as from the
491 argument. Add reference to all to simplify_bound_dim.
492
493 2009-02-19 Daniel Franke <franke.daniel@gmail.com>
494
495 * scanner.c (load_line): At end of line, skip '\r' without setting
496 the truncation flag.
497
498 2009-02-18 Daniel Kraft <d@domob.eu>
499
500 * gfortran.texi: New chapter about compiler characteristics.
501 (Compiler Characteristics): Document KIND type parameters here.
502
503 2009-02-18 Tobias Burnus <burnus@net-b.de>
504
505 * intrinsic.texi (MALLOC): Make example more portable.
506
507 2009-02-13 Mikael Morin <mikael.morin@tele2.fr>
508
509 PR fortran/38259
510 * module.c (gfc_dump_module,gfc_use_module): Add module
511 version number.
512
513 2009-02-13 Paul Thomas <pault@gcc.gnu.org>
514
515 PR fortran/36703
516 PR fortran/36528
517 * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer
518 function references to ensure that a valid expression is used.
519 (gfc_conv_function_call): Pass Cray pointers to procedures.
520
521 2009-02-03 Jakub Jelinek <jakub@redhat.com>
522
523 * gfortranspec.c (lang_specific_driver): Update copyright notice
524 dates.
525
526 2009-01-28 Paul Thomas <pault@gcc.gnu.org>
527
528 PR fortran/38852
529 PR fortran/39006
530 * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
531 descriptor ubound for UBOUND, when the array lbound == 1.
532
533 2009-01-27 Daniel Kraft <d@domob.eu>
534
535 PR fortran/38883
536 * trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary
537 for the real type needed to make it work for subcomponent-references.
538
539 2009-01-21 Daniel Kraft <d@domob.eu>
540
541 * trans-stmt.c (gfc_conv_elemental_dependencies): Cleaned up comment.
542
543 2009-01-20 Paul Thomas <pault@gcc.gnu.org>
544
545 PR fortran/38907
546 * resolve.c (check_host_association): Remove the matching to
547 correct an incorrect host association and use manipulation of
548 the expression instead.
549
550 2009-01-20 Tobias Burnus <burnus@net-b.de>
551
552 * invoke.texi (RANGE): RANGE also takes INTEGER arguments.
553
554 2009-01-19 Mikael Morin <mikael.morin@tele2.fr>
555
556 PR fortran/38859
557 * simplify.c (simplify_bound): Don't use array specification
558 if variable or component has subsequent references.
559
560 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
561
562 PR fortran/38657
563 * module.c (write_common_0): Add argument 'this_module' and
564 check that non-use associated common blocks are written first.
565 (write_common): Call write_common_0 twice, once with true and
566 then with false.
567
568 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
569
570 PR fortran/34955
571 * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
572 been absorbed into gfc_conv_intrinsic_transfer. All
573 references to it in trans-intrinsic.c have been changed
574 accordingly. PR fixed by using a temporary for scalar
575 character transfer, when the source is shorter than the
576 destination.
577
578 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
579
580 PR fortran/38657
581 * module.c (write_common_0): Revert patch of 2009-01-05.
582
583 2009-01-16 Janus Weil <janus@gcc.gnu.org>
584
585 PR fortran/38152
586 * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
587 pointers as lvalue.
588 * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
589 Enable procedure pointers as module variables.
590
591 2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org>
592
593 * ChangeLog-2007: Clean out svn merge droppings.
594
595 2009-01-10 Paul Thomas <pault@gcc.gnu.org>
596
597 PR fortran/38763
598 * target-memory.c (encode_derived): Encode NULL.
599
600 2009-01-10 Paul Thomas <pault@gcc.gnu.org>
601
602 PR fortran/38765
603 * resolve.c (check_host_association): Use the symtree name to
604 search for a potential contained procedure, since this is the
605 name by which it would be referenced.
606
607 2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org>
608
609 PR fortran/38220
610 * interface.c (gfc_procedure_use): Don't warn about functions
611 from ISO_C_BINDING.
612 * symbol.c (generate_isocbinding_symbol): Mark c_loc and
613 c_funloc as pure.
614
615 2009-01-05 Paul Thomas <pault@gcc.gnu.org>
616
617 PR fortran/38657
618 * module.c (write_common_0): Use the name of the symtree rather
619 than the common block, to determine if the common has been
620 written.
621
622 2009-01-05 Daniel Franke <franke.daniel@gmail.com>
623
624 PR fortran/37159
625 * check.c (gfc_check_random_seed): Added size check for GET
626 dummy argument, reworded error messages to follow common pattern.
627
628 2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
629
630 PR fortran/38672
631 * trans-types.c (gfc_get_derived_type): Check for the
632 presence of derived->ns->proc_name before
633 accessing derived->ns->proc_name->attr.flavor .
634 * resolve.c (resolve_symbol): Likewise.
635
636 2009-01-05 Paul Thomas <pault@gcc.gnu.org>
637
638 PR fortran/38665
639 * gfortran.h : Add bit to gfc_expr 'user_operator'
640 * interface.c (gfc_extend_expr): Set the above if the operator
641 is substituted by a function.
642 * resolve.c (check_host_association): Return if above is set.
643
644 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>
645
646 PR fortran/35681
647 * ChangeLog-2008: Fix function name.
648
649 PR fortran/38487
650 * dependency.c (gfc_check_argument_var_dependency):
651 Move the check for pointerness inside the if block
652 so that it doesn't affect the return value.
653
654 PR fortran/38669
655 * trans-stmt.c (gfc_trans_call):
656 Add the dependency code after the loop bounds calculation one.
657
658 2009-01-04 Daniel Franke <franke.daniel@gmail.com>
659
660 * intrinsic.c (do_simplify): Removed already implemented TODO.
661
662 2009-01-04 Daniel Franke <franke.daniel@gmail.com>
663
664 PR fortran/38718
665 * simplify.c (gfc_simplify_merge): New.
666 * intrinsic.h (gfc_simplify_merge): New prototype.
667 * intrinsic.c (add_functions): Added simplification for MERGE.
668
669 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>
670
671 PR fortran/38536
672 * gfortran.h (gfc_is_data_pointer): Added prototype
673 * resolve.c (gfc_iso_c_func_interface):
674 Use gfc_is_data_pointer to test for pointer attribute.
675 * dependency.c (gfc_is_data_pointer):
676 Support pointer-returning functions.
677
678 2009-01-03 Daniel Franke <franke.daniel@gmail.com>
679
680 * symbol.c (save_symbol): Don't SAVE function results.
681
682 2009-01-03 Paul Thomas <pault@gcc.gnu.org>
683
684 PR fortran/38594
685 * resolve.c (resolve_call): When searching for proper host
686 association, use symtree rather than symbol. For everything
687 except generic subroutines, substitute the symtree in the call
688 rather than the symbol.
689
690 \f
691 Copyright (C) 2009 Free Software Foundation, Inc.
692
693 Copying and distribution of this file, with or without modification,
694 are permitted in any medium without royalty provided the copyright
695 notice and this notice are preserved.
This page took 0.073647 seconds and 6 git commands to generate.