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