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