1 2010-01-17 Janus Weil <janus@gcc.gnu.org>
4 * gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
5 * interface.c (check_interface1): Move a warning message here from
7 (check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
8 * module.c (read_module): Remove call to gfc_check_interfaces, since
9 this comes too early here.
10 * resolve.c (resolve_fl_procedure): Move warning message to
13 2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
16 * interface.c (check_interface1): Pass symbol name rather than NULL to
17 gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
19 * resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
20 than NULL to gfc_compare_interfaces.
22 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
25 * trans-array.c (duplicate_allocatable): Static version of
26 gfc_duplicate_allocatable with provision to handle scalar
27 components. New boolean argument to switch off call to malloc
29 (gfc_duplicate_allocatable): New function to call above with
31 (gfc_copy_allocatable_data): New function to call above with
33 (structure_alloc_comps): Do not apply indirect reference to
34 scalar pointers. Add new section to copy allocatable components
35 of arrays. Extend copying of allocatable components to include
37 (gfc_copy_only_alloc_comp): New function to copy allocatable
38 component derived types, without allocating the base structure.
39 * trans-array.h : Add primitive for gfc_copy_allocatable_data.
40 Add primitive for gfc_copy_only_alloc_comp.
41 * trans-expr.c (gfc_conv_procedure_call): After calls to
42 transformational functions with results that are derived types
43 with allocatable components, copy the components in the result.
44 (gfc_trans_arrayfunc_assign): Deallocate allocatable components
45 of lhs derived types before allocation.
47 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
50 * module.c (load_generic_interfaces): If a procedure that is
51 use associated but not generic is given an interface that
52 includes itself, then make it generic.
54 2010-01-11 Joseph Myers <joseph@codesourcery.com>
55 Shujing Zhao <pearly.zhao@oracle.com>
58 * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
59 finit-logical=, finit-real=, fmax-array-constructor=): Use tab
60 character between option name and help text.
62 2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
66 * trans-array.c (gfc_conv_array_initializer): Change call to
67 gfc_error_now to call to gfc_fatal_error.
68 * array.c (count_elements): Whitespace. (extract_element): Whitespace.
69 (is_constant_element): Changed name from constant_element.
70 (gfc_constant_ac): Only use expand_construuctor for expression
71 types of EXPR_ARRAY. If expression type is EXPR_CONSTANT, no need to
72 call gfc_is_constant_expr.
73 * expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
75 * resolve.c (gfc_is_expandable_expr): New function that determiners if
76 array expressions should have their constructors expanded.
77 (gfc_resolve_expr): Use new function to determine whether or not to call
78 gfc_expand_constructor.
80 2010-01-09 Tobias Burnus <burnus@net-b.de>
83 * trans-expr.c (gfc_trans_structure_assign): Handle
85 * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
86 to the constructor for c_null_(fun)ptr.
87 * resolve.c (resolve_structure_cons): Add special case
90 2010-01-09 Jakub Jelinek <jakub@redhat.com>
92 * gfortranspec.c (lang_specific_driver): Update copyright notice
95 2010-01-08 Tobias Burnus <burnus@net-b.de>
98 * symbol.c (check_conflict, gfc_copy_attr): Add
100 (gfc_add_asynchronous): New function.
101 * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
102 (gfc_match_asynchronous): New function.
103 * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
104 * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
105 (gfc_add_asynchronous): New Prototype.
106 * module.c (ab_attribute, mio_symbol_attribute): Add
107 ASYNCHRONOUS support.
108 * resolve.c (was_declared): Ditto.
109 * match.h (gfc_match_asynchronous): New prototype.
110 * parse.c (decode_specification_statement,decode_statement):
111 Add ASYNCHRONOUS support.
113 2010-01-07 Tobias Burnus <burnus@net-b.de>
116 * trans-decl.c (get_proc_pointer_decl): Fix call to
117 gfc_conv_initializer for array-valued proc-pointer funcs.
119 2010-01-07 Tobias Burnus <burnus@net-b.de>
122 * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
123 allocatable scalars with SAVE attribute.
125 2010-01-05 Tobias Burnus <burnus@net-b.de>
128 * options.c (gfc_post_options): Set -frecursion
129 when -fopenmp is used.
131 2010-01-05 Tobias Burnus <burnus@net-b.de>
134 * trans-expr.c (gfc_conv_procedure_call): Nullify
135 return value for allocatable-scalar character functions.
137 2010-01-04 Tobias Burnus <burnus@net-b.de>
140 * error.c (error_printf, gfc_warning, gfc_notify_std,
141 gfc_warning_now, gfc_error, gfc_error_now,
142 gfc_fatal_error): Change argument name from nocmsgid to
143 gmsgid to enable (x)gettext's % checking.
145 2010-01-04 Tobias Burnus <burnus@net-b.de>
147 * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
149 2010-01-04 Tobias Burnus <burnus@net-b.de>
152 * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
153 for functions returning allocatable scalars.
154 * trans-stmt.c (gfc_trans_allocate): Emmit error when
155 reallocating an allocatable scalar.
156 * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
158 * trans-decl.c (gfc_trans_deferred_vars): Nullify local
160 (gfc_generate_function_code): Nullify result variable for
164 * module.c (gfc_use_module): Fix warning string to allow
168 * invoke.texi (-fcheck=recursion): Mention that the checking
169 is also disabled for -frecursive.
170 * trans-decl.c (gfc_generate_function_code): Disable
171 -fcheck=recursion when -frecursive is used.
173 * intrinsic.texi (iso_c_binding): Improve wording.
176 Copyright (C) 2010 Free Software Foundation, Inc.
178 Copying and distribution of this file, with or without modification,
179 are permitted in any medium without royalty provided the copyright
180 notice and this notice are preserved.