1 2010-01-21 Paul Thomas <pault@gcc.gnu.org>
4 * trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
5 is required, turn any trailing array elements after a range
6 into ranges so that offsets can be calculated.
8 2010-01-20 Joern Rennecke <amylaar@spamcop.net>
10 * module.c (mio_f2k_derived): Use enumerator as initializer of
14 * gfortran.h (struct gfc_namespace) <resolved>: Change to signed
17 2010-01-19 Janus Weil <janus@gcc.gnu.org>
20 * resolve.c (extract_compcall_passed_object): Set locus for
21 passed-object argument.
22 (extract_ppc_passed_object): Set locus and correctly remove PPC
25 2010-01-19 Paul Thomas <pault@gcc.gnu.org>
28 * trans-decl.c (add_argument_checking): Do not use the backend
29 decl directly to test for the presence of an optional dummy
30 argument. Use gfc_conv_expr_present, remembering to set the
34 * trans-decl.c (gfc_generate_function_code): Small white space
35 changes. If 'recurcheckvar' is NULL do not try to reset it.
37 2010-01-19 Janus Weil <janus@gcc.gnu.org>
40 * resolve.c (resolve_fl_derived): Set the accessibility of the parent
41 component for extended types.
42 * symbol.c (gfc_find_component): Remove a wrongly-worded error message
43 and take care of parent component accessibility.
45 2010-01-17 Janus Weil <janus@gcc.gnu.org>
48 * gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
49 * interface.c (check_interface1): Move a warning message here from
51 (check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
52 * module.c (read_module): Remove call to gfc_check_interfaces, since
53 this comes too early here.
54 * resolve.c (resolve_fl_procedure): Move warning message to
57 2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
60 * interface.c (check_interface1): Pass symbol name rather than NULL to
61 gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
63 * resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
64 than NULL to gfc_compare_interfaces.
66 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
69 * trans-array.c (duplicate_allocatable): Static version of
70 gfc_duplicate_allocatable with provision to handle scalar
71 components. New boolean argument to switch off call to malloc
73 (gfc_duplicate_allocatable): New function to call above with
75 (gfc_copy_allocatable_data): New function to call above with
77 (structure_alloc_comps): Do not apply indirect reference to
78 scalar pointers. Add new section to copy allocatable components
79 of arrays. Extend copying of allocatable components to include
81 (gfc_copy_only_alloc_comp): New function to copy allocatable
82 component derived types, without allocating the base structure.
83 * trans-array.h : Add primitive for gfc_copy_allocatable_data.
84 Add primitive for gfc_copy_only_alloc_comp.
85 * trans-expr.c (gfc_conv_procedure_call): After calls to
86 transformational functions with results that are derived types
87 with allocatable components, copy the components in the result.
88 (gfc_trans_arrayfunc_assign): Deallocate allocatable components
89 of lhs derived types before allocation.
91 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
94 * module.c (load_generic_interfaces): If a procedure that is
95 use associated but not generic is given an interface that
96 includes itself, then make it generic.
98 2010-01-11 Joseph Myers <joseph@codesourcery.com>
99 Shujing Zhao <pearly.zhao@oracle.com>
102 * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
103 finit-logical=, finit-real=, fmax-array-constructor=): Use tab
104 character between option name and help text.
106 2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
110 * trans-array.c (gfc_conv_array_initializer): Change call to
111 gfc_error_now to call to gfc_fatal_error.
112 * array.c (count_elements): Whitespace. (extract_element): Whitespace.
113 (is_constant_element): Changed name from constant_element.
114 (gfc_constant_ac): Only use expand_construuctor for expression
115 types of EXPR_ARRAY. If expression type is EXPR_CONSTANT, no need to
116 call gfc_is_constant_expr.
117 * expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
119 * resolve.c (gfc_is_expandable_expr): New function that determiners if
120 array expressions should have their constructors expanded.
121 (gfc_resolve_expr): Use new function to determine whether or not to call
122 gfc_expand_constructor.
124 2010-01-09 Tobias Burnus <burnus@net-b.de>
127 * trans-expr.c (gfc_trans_structure_assign): Handle
129 * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
130 to the constructor for c_null_(fun)ptr.
131 * resolve.c (resolve_structure_cons): Add special case
134 2010-01-09 Jakub Jelinek <jakub@redhat.com>
136 * gfortranspec.c (lang_specific_driver): Update copyright notice
139 2010-01-08 Tobias Burnus <burnus@net-b.de>
142 * symbol.c (check_conflict, gfc_copy_attr): Add
143 ASYNCHRONOUS support.
144 (gfc_add_asynchronous): New function.
145 * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
146 (gfc_match_asynchronous): New function.
147 * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
148 * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
149 (gfc_add_asynchronous): New Prototype.
150 * module.c (ab_attribute, mio_symbol_attribute): Add
151 ASYNCHRONOUS support.
152 * resolve.c (was_declared): Ditto.
153 * match.h (gfc_match_asynchronous): New prototype.
154 * parse.c (decode_specification_statement,decode_statement):
155 Add ASYNCHRONOUS support.
157 2010-01-07 Tobias Burnus <burnus@net-b.de>
160 * trans-decl.c (get_proc_pointer_decl): Fix call to
161 gfc_conv_initializer for array-valued proc-pointer funcs.
163 2010-01-07 Tobias Burnus <burnus@net-b.de>
166 * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
167 allocatable scalars with SAVE attribute.
169 2010-01-05 Tobias Burnus <burnus@net-b.de>
172 * options.c (gfc_post_options): Set -frecursion
173 when -fopenmp is used.
175 2010-01-05 Tobias Burnus <burnus@net-b.de>
178 * trans-expr.c (gfc_conv_procedure_call): Nullify
179 return value for allocatable-scalar character functions.
181 2010-01-04 Tobias Burnus <burnus@net-b.de>
184 * error.c (error_printf, gfc_warning, gfc_notify_std,
185 gfc_warning_now, gfc_error, gfc_error_now,
186 gfc_fatal_error): Change argument name from nocmsgid to
187 gmsgid to enable (x)gettext's % checking.
189 2010-01-04 Tobias Burnus <burnus@net-b.de>
191 * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
193 2010-01-04 Tobias Burnus <burnus@net-b.de>
196 * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
197 for functions returning allocatable scalars.
198 * trans-stmt.c (gfc_trans_allocate): Emmit error when
199 reallocating an allocatable scalar.
200 * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
202 * trans-decl.c (gfc_trans_deferred_vars): Nullify local
204 (gfc_generate_function_code): Nullify result variable for
208 * module.c (gfc_use_module): Fix warning string to allow
212 * invoke.texi (-fcheck=recursion): Mention that the checking
213 is also disabled for -frecursive.
214 * trans-decl.c (gfc_generate_function_code): Disable
215 -fcheck=recursion when -frecursive is used.
217 * intrinsic.texi (iso_c_binding): Improve wording.
220 Copyright (C) 2010 Free Software Foundation, Inc.
222 Copying and distribution of this file, with or without modification,
223 are permitted in any medium without royalty provided the copyright
224 notice and this notice are preserved.