1 2010-01-19 Janus Weil <janus@gcc.gnu.org>
4 * resolve.c (extract_compcall_passed_object): Set locus for
5 passed-object argument.
6 (extract_ppc_passed_object): Set locus and correctly remove PPC
9 2010-01-19 Paul Thomas <pault@gcc.gnu.org>
12 * trans-decl.c (add_argument_checking): Do not use the backend
13 decl directly to test for the presence of an optional dummy
14 argument. Use gfc_conv_expr_present, remembering to set the
18 * trans-decl.c (gfc_generate_function_code): Small white space
19 changes. If 'recurcheckvar' is NULL do not try to reset it.
21 2010-01-19 Janus Weil <janus@gcc.gnu.org>
24 * resolve.c (resolve_fl_derived): Set the accessibility of the parent
25 component for extended types.
26 * symbol.c (gfc_find_component): Remove a wrongly-worded error message
27 and take care of parent component accessibility.
29 2010-01-17 Janus Weil <janus@gcc.gnu.org>
32 * gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
33 * interface.c (check_interface1): Move a warning message here from
35 (check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
36 * module.c (read_module): Remove call to gfc_check_interfaces, since
37 this comes too early here.
38 * resolve.c (resolve_fl_procedure): Move warning message to
41 2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
44 * interface.c (check_interface1): Pass symbol name rather than NULL to
45 gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
47 * resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
48 than NULL to gfc_compare_interfaces.
50 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
53 * trans-array.c (duplicate_allocatable): Static version of
54 gfc_duplicate_allocatable with provision to handle scalar
55 components. New boolean argument to switch off call to malloc
57 (gfc_duplicate_allocatable): New function to call above with
59 (gfc_copy_allocatable_data): New function to call above with
61 (structure_alloc_comps): Do not apply indirect reference to
62 scalar pointers. Add new section to copy allocatable components
63 of arrays. Extend copying of allocatable components to include
65 (gfc_copy_only_alloc_comp): New function to copy allocatable
66 component derived types, without allocating the base structure.
67 * trans-array.h : Add primitive for gfc_copy_allocatable_data.
68 Add primitive for gfc_copy_only_alloc_comp.
69 * trans-expr.c (gfc_conv_procedure_call): After calls to
70 transformational functions with results that are derived types
71 with allocatable components, copy the components in the result.
72 (gfc_trans_arrayfunc_assign): Deallocate allocatable components
73 of lhs derived types before allocation.
75 2010-01-14 Paul Thomas <pault@gcc.gnu.org>
78 * module.c (load_generic_interfaces): If a procedure that is
79 use associated but not generic is given an interface that
80 includes itself, then make it generic.
82 2010-01-11 Joseph Myers <joseph@codesourcery.com>
83 Shujing Zhao <pearly.zhao@oracle.com>
86 * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
87 finit-logical=, finit-real=, fmax-array-constructor=): Use tab
88 character between option name and help text.
90 2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
94 * trans-array.c (gfc_conv_array_initializer): Change call to
95 gfc_error_now to call to gfc_fatal_error.
96 * array.c (count_elements): Whitespace. (extract_element): Whitespace.
97 (is_constant_element): Changed name from constant_element.
98 (gfc_constant_ac): Only use expand_construuctor for expression
99 types of EXPR_ARRAY. If expression type is EXPR_CONSTANT, no need to
100 call gfc_is_constant_expr.
101 * expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
103 * resolve.c (gfc_is_expandable_expr): New function that determiners if
104 array expressions should have their constructors expanded.
105 (gfc_resolve_expr): Use new function to determine whether or not to call
106 gfc_expand_constructor.
108 2010-01-09 Tobias Burnus <burnus@net-b.de>
111 * trans-expr.c (gfc_trans_structure_assign): Handle
113 * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
114 to the constructor for c_null_(fun)ptr.
115 * resolve.c (resolve_structure_cons): Add special case
118 2010-01-09 Jakub Jelinek <jakub@redhat.com>
120 * gfortranspec.c (lang_specific_driver): Update copyright notice
123 2010-01-08 Tobias Burnus <burnus@net-b.de>
126 * symbol.c (check_conflict, gfc_copy_attr): Add
127 ASYNCHRONOUS support.
128 (gfc_add_asynchronous): New function.
129 * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
130 (gfc_match_asynchronous): New function.
131 * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
132 * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
133 (gfc_add_asynchronous): New Prototype.
134 * module.c (ab_attribute, mio_symbol_attribute): Add
135 ASYNCHRONOUS support.
136 * resolve.c (was_declared): Ditto.
137 * match.h (gfc_match_asynchronous): New prototype.
138 * parse.c (decode_specification_statement,decode_statement):
139 Add ASYNCHRONOUS support.
141 2010-01-07 Tobias Burnus <burnus@net-b.de>
144 * trans-decl.c (get_proc_pointer_decl): Fix call to
145 gfc_conv_initializer for array-valued proc-pointer funcs.
147 2010-01-07 Tobias Burnus <burnus@net-b.de>
150 * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
151 allocatable scalars with SAVE attribute.
153 2010-01-05 Tobias Burnus <burnus@net-b.de>
156 * options.c (gfc_post_options): Set -frecursion
157 when -fopenmp is used.
159 2010-01-05 Tobias Burnus <burnus@net-b.de>
162 * trans-expr.c (gfc_conv_procedure_call): Nullify
163 return value for allocatable-scalar character functions.
165 2010-01-04 Tobias Burnus <burnus@net-b.de>
168 * error.c (error_printf, gfc_warning, gfc_notify_std,
169 gfc_warning_now, gfc_error, gfc_error_now,
170 gfc_fatal_error): Change argument name from nocmsgid to
171 gmsgid to enable (x)gettext's % checking.
173 2010-01-04 Tobias Burnus <burnus@net-b.de>
175 * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
177 2010-01-04 Tobias Burnus <burnus@net-b.de>
180 * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
181 for functions returning allocatable scalars.
182 * trans-stmt.c (gfc_trans_allocate): Emmit error when
183 reallocating an allocatable scalar.
184 * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
186 * trans-decl.c (gfc_trans_deferred_vars): Nullify local
188 (gfc_generate_function_code): Nullify result variable for
192 * module.c (gfc_use_module): Fix warning string to allow
196 * invoke.texi (-fcheck=recursion): Mention that the checking
197 is also disabled for -frecursive.
198 * trans-decl.c (gfc_generate_function_code): Disable
199 -fcheck=recursion when -frecursive is used.
201 * intrinsic.texi (iso_c_binding): Improve wording.
204 Copyright (C) 2010 Free Software Foundation, Inc.
206 Copying and distribution of this file, with or without modification,
207 are permitted in any medium without royalty provided the copyright
208 notice and this notice are preserved.