OSDN Git Service

2009-02-26 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2009-02-26  Paul Thomas  <pault@gcc.gnu.org>
2
3         PR fortran/39295
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
7         other is not.
8
9 2009-02-26  Paul Thomas  <pault@gcc.gnu.org>
10
11         PR fortran/39292
12         * trans-array.c (gfc_conv_array_initializer): Convert all
13         expressions rather than ICEing.
14
15 2009-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
16
17         PR fortran/38914
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.
28
29 2009-02-19  Daniel Franke  <franke.daniel@gmail.com>
30
31         * scanner.c (load_line): At end of line, skip '\r' without setting
32         the truncation flag.
33
34 2009-02-18  Daniel Kraft  <d@domob.eu>
35
36         * gfortran.texi: New chapter about compiler characteristics.
37         (Compiler Characteristics): Document KIND type parameters here.
38
39 2009-02-18  Tobias Burnus  <burnus@net-b.de>
40
41         * intrinsic.texi (MALLOC): Make example more portable.
42
43 2009-02-13  Mikael Morin  <mikael.morin@tele2.fr>
44
45         PR fortran/38259
46         * module.c (gfc_dump_module,gfc_use_module): Add module
47         version number.
48
49 2009-02-13  Paul Thomas  <pault@gcc.gnu.org>
50
51         PR fortran/36703
52         PR fortran/36528
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.
56
57 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
58
59         * gfortranspec.c (lang_specific_driver): Update copyright notice
60         dates.
61
62 2009-01-28  Paul Thomas  <pault@gcc.gnu.org>
63
64         PR fortran/38852
65         PR fortran/39006
66         * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
67         descriptor ubound for UBOUND, when the array lbound == 1.
68
69 2009-01-27  Daniel Kraft  <d@domob.eu>
70
71         PR fortran/38883
72         * trans-stmt.c (gfc_conv_elemental_dependencies):  Create temporary
73         for the real type needed to make it work for subcomponent-references.
74
75 2009-01-21  Daniel Kraft  <d@domob.eu>
76
77         * trans-stmt.c (gfc_conv_elemental_dependencies):  Cleaned up comment.
78
79 2009-01-20  Paul Thomas  <pault@gcc.gnu.org>
80
81         PR fortran/38907
82         * resolve.c (check_host_association): Remove the matching to
83         correct an incorrect host association and use manipulation of
84         the expression instead.
85
86 2009-01-20  Tobias Burnus  <burnus@net-b.de>
87
88         * invoke.texi (RANGE): RANGE also takes INTEGER arguments.
89
90 2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>
91
92         PR fortran/38859
93         * simplify.c (simplify_bound): Don't use array specification
94         if variable or component has subsequent references.
95
96 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
97
98         PR fortran/38657
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
102         then with false.
103
104 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
105
106         PR fortran/34955
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
112         destination.
113
114 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
115
116         PR fortran/38657
117         * module.c (write_common_0): Revert patch of 2009-01-05.
118
119 2009-01-16  Janus Weil  <janus@gcc.gnu.org>
120
121         PR fortran/38152
122         * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
123         pointers as lvalue.
124         * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
125         Enable procedure pointers as module variables.
126
127 2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>
128
129         * ChangeLog-2007: Clean out svn merge droppings.
130
131 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
132
133         PR fortran/38763
134         * target-memory.c (encode_derived): Encode NULL.
135
136 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
137
138         PR fortran/38765
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.
142
143 2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
144
145         PR fortran/38220
146         * interface.c (gfc_procedure_use):  Don't warn about functions
147         from ISO_C_BINDING.
148         * symbol.c (generate_isocbinding_symbol):  Mark c_loc and
149         c_funloc as pure.
150
151 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
152
153         PR fortran/38657
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
156         written.
157
158 2009-01-05  Daniel Franke  <franke.daniel@gmail.com>
159
160         PR fortran/37159
161         * check.c (gfc_check_random_seed): Added size check for GET
162         dummy argument, reworded error messages to follow common pattern.
163
164 2009-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
165
166         PR fortran/38672
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.
171
172 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
173
174         PR fortran/38665
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.
179
180 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
181
182         PR fortran/35681
183         * ChangeLog-2008: Fix function name.
184
185         PR fortran/38487
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.
189
190         PR fortran/38669
191         * trans-stmt.c (gfc_trans_call):
192         Add the dependency code after the loop bounds calculation one.
193
194 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
195
196         * intrinsic.c (do_simplify): Removed already implemented TODO.
197
198 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
199
200         PR fortran/38718
201         * simplify.c (gfc_simplify_merge): New.
202         * intrinsic.h (gfc_simplify_merge): New prototype.
203         * intrinsic.c (add_functions): Added simplification for MERGE.
204
205 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
206
207         PR fortran/38536
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.
213
214 2009-01-03  Daniel Franke  <franke.daniel@gmail.com>
215
216         * symbol.c (save_symbol): Don't SAVE function results.
217
218 2009-01-03  Paul Thomas  <pault@gcc.gnu.org>
219
220         PR fortran/38594
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.