1 2009-02-26 Paul Thomas <pault@gcc.gnu.org>
4 * interface.c (compare_type_rank_if): Return 1 if the symbols
5 are the same and deal with external procedures where one is
6 identified to be a function or subroutine by usage but the
9 2009-02-26 Paul Thomas <pault@gcc.gnu.org>
12 * trans-array.c (gfc_conv_array_initializer): Convert all
13 expressions rather than ICEing.
15 2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org>
18 * array.c (ref_dimen_size): Rename to gfc_ref_dimen_size,
19 make global. Change function name in error messages.
20 (ref_size): Change ref_dimen_size to gfc_ref_dimen_size.
21 (gfc_array_ref_shape): Likewise.
22 * gfortran.h: Add prototype for gfc_ref_dimen_size.
23 * simplify.c (simplify_bound_dim): Add ref argument.
24 If the reference isn't a full array, return one for
25 the lower bound and the extent for the upper bound.
26 (simplify_bound): For array sections, take as from the
27 argument. Add reference to all to simplify_bound_dim.
29 2009-02-19 Daniel Franke <franke.daniel@gmail.com>
31 * scanner.c (load_line): At end of line, skip '\r' without setting
34 2009-02-18 Daniel Kraft <d@domob.eu>
36 * gfortran.texi: New chapter about compiler characteristics.
37 (Compiler Characteristics): Document KIND type parameters here.
39 2009-02-18 Tobias Burnus <burnus@net-b.de>
41 * intrinsic.texi (MALLOC): Make example more portable.
43 2009-02-13 Mikael Morin <mikael.morin@tele2.fr>
46 * module.c (gfc_dump_module,gfc_use_module): Add module
49 2009-02-13 Paul Thomas <pault@gcc.gnu.org>
53 * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer
54 function references to ensure that a valid expression is used.
55 (gfc_conv_function_call): Pass Cray pointers to procedures.
57 2009-02-03 Jakub Jelinek <jakub@redhat.com>
59 * gfortranspec.c (lang_specific_driver): Update copyright notice
62 2009-01-28 Paul Thomas <pault@gcc.gnu.org>
66 * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
67 descriptor ubound for UBOUND, when the array lbound == 1.
69 2009-01-27 Daniel Kraft <d@domob.eu>
72 * trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary
73 for the real type needed to make it work for subcomponent-references.
75 2009-01-21 Daniel Kraft <d@domob.eu>
77 * trans-stmt.c (gfc_conv_elemental_dependencies): Cleaned up comment.
79 2009-01-20 Paul Thomas <pault@gcc.gnu.org>
82 * resolve.c (check_host_association): Remove the matching to
83 correct an incorrect host association and use manipulation of
84 the expression instead.
86 2009-01-20 Tobias Burnus <burnus@net-b.de>
88 * invoke.texi (RANGE): RANGE also takes INTEGER arguments.
90 2009-01-19 Mikael Morin <mikael.morin@tele2.fr>
93 * simplify.c (simplify_bound): Don't use array specification
94 if variable or component has subsequent references.
96 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
99 * module.c (write_common_0): Add argument 'this_module' and
100 check that non-use associated common blocks are written first.
101 (write_common): Call write_common_0 twice, once with true and
104 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
107 * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
108 been absorbed into gfc_conv_intrinsic_transfer. All
109 references to it in trans-intrinsic.c have been changed
110 accordingly. PR fixed by using a temporary for scalar
111 character transfer, when the source is shorter than the
114 2009-01-17 Paul Thomas <pault@gcc.gnu.org>
117 * module.c (write_common_0): Revert patch of 2009-01-05.
119 2009-01-16 Janus Weil <janus@gcc.gnu.org>
122 * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
124 * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
125 Enable procedure pointers as module variables.
127 2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org>
129 * ChangeLog-2007: Clean out svn merge droppings.
131 2009-01-10 Paul Thomas <pault@gcc.gnu.org>
134 * target-memory.c (encode_derived): Encode NULL.
136 2009-01-10 Paul Thomas <pault@gcc.gnu.org>
139 * resolve.c (check_host_association): Use the symtree name to
140 search for a potential contained procedure, since this is the
141 name by which it would be referenced.
143 2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org>
146 * interface.c (gfc_procedure_use): Don't warn about functions
148 * symbol.c (generate_isocbinding_symbol): Mark c_loc and
151 2009-01-05 Paul Thomas <pault@gcc.gnu.org>
154 * module.c (write_common_0): Use the name of the symtree rather
155 than the common block, to determine if the common has been
158 2009-01-05 Daniel Franke <franke.daniel@gmail.com>
161 * check.c (gfc_check_random_seed): Added size check for GET
162 dummy argument, reworded error messages to follow common pattern.
164 2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
167 * trans-types.c (gfc_get_derived_type): Check for the
168 presence of derived->ns->proc_name before
169 accessing derived->ns->proc_name->attr.flavor .
170 * resolve.c (resolve_symbol): Likewise.
172 2009-01-05 Paul Thomas <pault@gcc.gnu.org>
175 * gfortran.h : Add bit to gfc_expr 'user_operator'
176 * interface.c (gfc_extend_expr): Set the above if the operator
177 is substituted by a function.
178 * resolve.c (check_host_association): Return if above is set.
180 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>
183 * ChangeLog-2008: Fix function name.
186 * dependency.c (gfc_check_argument_var_dependency):
187 Move the check for pointerness inside the if block
188 so that it doesn't affect the return value.
191 * trans-stmt.c (gfc_trans_call):
192 Add the dependency code after the loop bounds calculation one.
194 2009-01-04 Daniel Franke <franke.daniel@gmail.com>
196 * intrinsic.c (do_simplify): Removed already implemented TODO.
198 2009-01-04 Daniel Franke <franke.daniel@gmail.com>
201 * simplify.c (gfc_simplify_merge): New.
202 * intrinsic.h (gfc_simplify_merge): New prototype.
203 * intrinsic.c (add_functions): Added simplification for MERGE.
205 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>
208 * gfortran.h (gfc_is_data_pointer): Added prototype
209 * resolve.c (gfc_iso_c_func_interface):
210 Use gfc_is_data_pointer to test for pointer attribute.
211 * dependency.c (gfc_is_data_pointer):
212 Support pointer-returning functions.
214 2009-01-03 Daniel Franke <franke.daniel@gmail.com>
216 * symbol.c (save_symbol): Don't SAVE function results.
218 2009-01-03 Paul Thomas <pault@gcc.gnu.org>
221 * resolve.c (resolve_call): When searching for proper host
222 association, use symtree rather than symbol. For everything
223 except generic subroutines, substitute the symtree in the call
224 rather than the symbol.