1 2010-01-20 Joern Rennecke <amylaar@spamcop.net>
3 * module.c (mio_f2k_derived): Use enumerator as initializer of
6 2010-01-19 Janus Weil <janus@gcc.gnu.org>
9 * resolve.c (extract_compcall_passed_object): Set locus for
10 passed-object argument.
11 (extract_ppc_passed_object): Set locus and correctly remove PPC
14 2010-01-19 Paul Thomas <pault@gcc.gnu.org>
17 * trans-decl.c (add_argument_checking): Do not use the backend
18 decl directly to test for the presence of an optional dummy
19 argument. Use gfc_conv_expr_present, remembering to set the
23 * trans-decl.c (gfc_generate_function_code): Small white space
24 changes. If 'recurcheckvar' is NULL do not try to reset it.
26 2010-01-19 Janus Weil <janus@gcc.gnu.org>
29 * resolve.c (resolve_fl_derived): Set the accessibility of the parent
30 component for extended types.
31 * symbol.c (gfc_find_component): Remove a wrongly-worded error message
32 and take care of parent component accessibility.
34 2010-01-17 Janus Weil <janus@gcc.gnu.org>
37 * gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
38 * interface.c (check_interface1): Move a warning message here from
40 (check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
41 * module.c (read_module): Remove call to gfc_check_interfaces, since
42 this comes too early here.
43 * resolve.c (resolve_fl_procedure): Move warning message to
46 2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
49 * interface.c (check_interface1): Pass symbol name rather than NULL to
50 gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
52 * resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
53 than NULL to gfc_compare_interfaces.
55 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
58 * trans-array.c (duplicate_allocatable): Static version of
59 gfc_duplicate_allocatable with provision to handle scalar
60 components. New boolean argument to switch off call to malloc
62 (gfc_duplicate_allocatable): New function to call above with
64 (gfc_copy_allocatable_data): New function to call above with
66 (structure_alloc_comps): Do not apply indirect reference to
67 scalar pointers. Add new section to copy allocatable components
68 of arrays. Extend copying of allocatable components to include
70 (gfc_copy_only_alloc_comp): New function to copy allocatable
71 component derived types, without allocating the base structure.
72 * trans-array.h : Add primitive for gfc_copy_allocatable_data.
73 Add primitive for gfc_copy_only_alloc_comp.
74 * trans-expr.c (gfc_conv_procedure_call): After calls to
75 transformational functions with results that are derived types
76 with allocatable components, copy the components in the result.
77 (gfc_trans_arrayfunc_assign): Deallocate allocatable components
78 of lhs derived types before allocation.
80 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
83 * module.c (load_generic_interfaces): If a procedure that is
84 use associated but not generic is given an interface that
85 includes itself, then make it generic.
87 2010-01-11 Joseph Myers <joseph@codesourcery.com>
88 Shujing Zhao <pearly.zhao@oracle.com>
91 * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
92 finit-logical=, finit-real=, fmax-array-constructor=): Use tab
93 character between option name and help text.
95 2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
99 * trans-array.c (gfc_conv_array_initializer): Change call to
100 gfc_error_now to call to gfc_fatal_error.
101 * array.c (count_elements): Whitespace. (extract_element): Whitespace.
102 (is_constant_element): Changed name from constant_element.
103 (gfc_constant_ac): Only use expand_construuctor for expression
104 types of EXPR_ARRAY. If expression type is EXPR_CONSTANT, no need to
105 call gfc_is_constant_expr.
106 * expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
108 * resolve.c (gfc_is_expandable_expr): New function that determiners if
109 array expressions should have their constructors expanded.
110 (gfc_resolve_expr): Use new function to determine whether or not to call
111 gfc_expand_constructor.
113 2010-01-09 Tobias Burnus <burnus@net-b.de>
116 * trans-expr.c (gfc_trans_structure_assign): Handle
118 * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
119 to the constructor for c_null_(fun)ptr.
120 * resolve.c (resolve_structure_cons): Add special case
123 2010-01-09 Jakub Jelinek <jakub@redhat.com>
125 * gfortranspec.c (lang_specific_driver): Update copyright notice
128 2010-01-08 Tobias Burnus <burnus@net-b.de>
131 * symbol.c (check_conflict, gfc_copy_attr): Add
132 ASYNCHRONOUS support.
133 (gfc_add_asynchronous): New function.
134 * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
135 (gfc_match_asynchronous): New function.
136 * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
137 * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
138 (gfc_add_asynchronous): New Prototype.
139 * module.c (ab_attribute, mio_symbol_attribute): Add
140 ASYNCHRONOUS support.
141 * resolve.c (was_declared): Ditto.
142 * match.h (gfc_match_asynchronous): New prototype.
143 * parse.c (decode_specification_statement,decode_statement):
144 Add ASYNCHRONOUS support.
146 2010-01-07 Tobias Burnus <burnus@net-b.de>
149 * trans-decl.c (get_proc_pointer_decl): Fix call to
150 gfc_conv_initializer for array-valued proc-pointer funcs.
152 2010-01-07 Tobias Burnus <burnus@net-b.de>
155 * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
156 allocatable scalars with SAVE attribute.
158 2010-01-05 Tobias Burnus <burnus@net-b.de>
161 * options.c (gfc_post_options): Set -frecursion
162 when -fopenmp is used.
164 2010-01-05 Tobias Burnus <burnus@net-b.de>
167 * trans-expr.c (gfc_conv_procedure_call): Nullify
168 return value for allocatable-scalar character functions.
170 2010-01-04 Tobias Burnus <burnus@net-b.de>
173 * error.c (error_printf, gfc_warning, gfc_notify_std,
174 gfc_warning_now, gfc_error, gfc_error_now,
175 gfc_fatal_error): Change argument name from nocmsgid to
176 gmsgid to enable (x)gettext's % checking.
178 2010-01-04 Tobias Burnus <burnus@net-b.de>
180 * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
182 2010-01-04 Tobias Burnus <burnus@net-b.de>
185 * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
186 for functions returning allocatable scalars.
187 * trans-stmt.c (gfc_trans_allocate): Emmit error when
188 reallocating an allocatable scalar.
189 * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
191 * trans-decl.c (gfc_trans_deferred_vars): Nullify local
193 (gfc_generate_function_code): Nullify result variable for
197 * module.c (gfc_use_module): Fix warning string to allow
201 * invoke.texi (-fcheck=recursion): Mention that the checking
202 is also disabled for -frecursive.
203 * trans-decl.c (gfc_generate_function_code): Disable
204 -fcheck=recursion when -frecursive is used.
206 * intrinsic.texi (iso_c_binding): Improve wording.
209 Copyright (C) 2010 Free Software Foundation, Inc.
211 Copying and distribution of this file, with or without modification,
212 are permitted in any medium without royalty provided the copyright
213 notice and this notice are preserved.