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