OSDN Git Service

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