2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
[official-gcc.git] / gcc / fortran / ChangeLog
blob2f33c655d96f4992ca482eba9ac87309637a0075
1 2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>
3         PR fortran/38859
4         * simplify.c (simplify_bound): Don't use array specification
5         if variable or component has subsequent references.
7 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
9         PR fortran/38657
10         * module.c (write_common_0): Add argument 'this_module' and
11         check that non-use associated common blocks are written first.
12         (write_common): Call write_common_0 twice, once with true and
13         then with false.
15 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
17         PR fortran/34955
18         * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
19         been absorbed into gfc_conv_intrinsic_transfer. All
20         references to it in trans-intrinsic.c have been changed
21         accordingly.  PR fixed by using a temporary for scalar
22         character transfer, when the source is shorter than the
23         destination.
25 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
27         PR fortran/38657
28         * module.c (write_common_0): Revert patch of 2009-01-05.
30 2009-01-16  Janus Weil  <janus@gcc.gnu.org>
32         PR fortran/38152
33         * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
34         pointers as lvalue.
35         * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
36         Enable procedure pointers as module variables.
38 2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>
40         * ChangeLog-2007: Clean out svn merge droppings.
42 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
44         PR fortran/38763
45         * target-memory.c (encode_derived): Encode NULL.
47 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
49         PR fortran/38765
50         * resolve.c (check_host_association): Use the symtree name to
51         search for a potential contained procedure, since this is the
52         name by which it would be referenced.
54 2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
56         PR fortran/38220
57         * interface.c (gfc_procedure_use):  Don't warn about functions
58         from ISO_C_BINDING.
59         * symbol.c (generate_isocbinding_symbol):  Mark c_loc and
60         c_funloc as pure.
62 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
64         PR fortran/38657
65         * module.c (write_common_0): Use the name of the symtree rather
66         than the common block, to determine if the common has been
67         written.
69 2009-01-05  Daniel Franke  <franke.daniel@gmail.com>
71         PR fortran/37159
72         * check.c (gfc_check_random_seed): Added size check for GET
73         dummy argument, reworded error messages to follow common pattern.
75 2009-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
77         PR fortran/38672
78         * trans-types.c (gfc_get_derived_type):  Check for the
79         presence of derived->ns->proc_name before
80         accessing derived->ns->proc_name->attr.flavor .
81         * resolve.c (resolve_symbol):  Likewise.
83 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
85         PR fortran/38665
86         * gfortran.h : Add bit to gfc_expr 'user_operator'
87         * interface.c (gfc_extend_expr): Set the above if the operator
88         is substituted by a function. 
89         * resolve.c (check_host_association): Return if above is set.
91 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
93         PR fortran/35681
94         * ChangeLog-2008: Fix function name.
96         PR fortran/38487
97         * dependency.c (gfc_check_argument_var_dependency):
98         Move the check for pointerness inside the if block
99         so that it doesn't affect the return value.
101         PR fortran/38669
102         * trans-stmt.c (gfc_trans_call):
103         Add the dependency code after the loop bounds calculation one.
105 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
107         * intrinsic.c (do_simplify): Removed already implemented TODO.
109 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
111         PR fortran/38718
112         * simplify.c (gfc_simplify_merge): New.
113         * intrinsic.h (gfc_simplify_merge): New prototype.
114         * intrinsic.c (add_functions): Added simplification for MERGE.
116 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
118         PR fortran/38536
119         * gfortran.h (gfc_is_data_pointer): Added prototype
120         * resolve.c (gfc_iso_c_func_interface):
121         Use gfc_is_data_pointer to test for pointer attribute.
122         * dependency.c (gfc_is_data_pointer):
123         Support pointer-returning functions.
125 2009-01-03  Daniel Franke  <franke.daniel@gmail.com>
127         * symbol.c (save_symbol): Don't SAVE function results.
129 2009-01-03  Paul Thomas  <pault@gcc.gnu.org>
131         PR fortran/38594
132         * resolve.c (resolve_call): When searching for proper host
133         association, use symtree rather than symbol.  For everything
134         except generic subroutines, substitute the symtree in the call
135         rather than the symbol.