OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2009-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2
3         * lang.opt: Unify help texts for -I, -Wconversion, -d, -fopenmp,
4         and -fpreprocessed.
5
6 2009-03-06  Alexandre Oliva <aoliva@redhat.com>
7
8         * simplify.c (gfc_simplify_transfer): Zero-initialize the
9         buffer.
10
11 2009-02-27  Tobias Burnus  <burnus@net-b.de>
12
13         PR fortran/39309
14         * module.c (read_md5_from_module_file): Add missing quote.
15
16 2009-02-27  Tobias Burnus  <burnus@net-b.de>
17
18         PR fortran/39309
19         * module.c (read_md5_from_module_file): Include mod version
20         in had-changed test.
21
22 2009-02-26  Paul Thomas  <pault@gcc.gnu.org>
23
24         PR fortran/39295
25         * interface.c (compare_type_rank_if): Return 1 if the symbols
26         are the same and deal with external procedures where one is
27         identified to be a function or subroutine by usage but the
28         other is not.
29
30 2009-02-26  Paul Thomas  <pault@gcc.gnu.org>
31
32         PR fortran/39292
33         * trans-array.c (gfc_conv_array_initializer): Convert all
34         expressions rather than ICEing.
35
36 2009-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
37
38         PR fortran/38914
39         * array.c (ref_dimen_size):  Rename to gfc_ref_dimen_size,
40         make global.  Change function name in error messages.
41         (ref_size):  Change ref_dimen_size to gfc_ref_dimen_size.
42         (gfc_array_ref_shape):  Likewise.
43         * gfortran.h:  Add prototype for gfc_ref_dimen_size.
44         * simplify.c (simplify_bound_dim):  Add ref argument.
45         If the reference isn't a full array, return one for
46         the lower bound and the extent for the upper bound.
47         (simplify_bound):  For array sections, take as from the
48         argument.  Add reference to all to simplify_bound_dim.
49
50 2009-02-19  Daniel Franke  <franke.daniel@gmail.com>
51
52         * scanner.c (load_line): At end of line, skip '\r' without setting
53         the truncation flag.
54
55 2009-02-18  Daniel Kraft  <d@domob.eu>
56
57         * gfortran.texi: New chapter about compiler characteristics.
58         (Compiler Characteristics): Document KIND type parameters here.
59
60 2009-02-18  Tobias Burnus  <burnus@net-b.de>
61
62         * intrinsic.texi (MALLOC): Make example more portable.
63
64 2009-02-13  Mikael Morin  <mikael.morin@tele2.fr>
65
66         PR fortran/38259
67         * module.c (gfc_dump_module,gfc_use_module): Add module
68         version number.
69
70 2009-02-13  Paul Thomas  <pault@gcc.gnu.org>
71
72         PR fortran/36703
73         PR fortran/36528
74         * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer
75         function references to ensure that a valid expression is used.
76         (gfc_conv_function_call): Pass Cray pointers to procedures.
77
78 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
79
80         * gfortranspec.c (lang_specific_driver): Update copyright notice
81         dates.
82
83 2009-01-28  Paul Thomas  <pault@gcc.gnu.org>
84
85         PR fortran/38852
86         PR fortran/39006
87         * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
88         descriptor ubound for UBOUND, when the array lbound == 1.
89
90 2009-01-27  Daniel Kraft  <d@domob.eu>
91
92         PR fortran/38883
93         * trans-stmt.c (gfc_conv_elemental_dependencies):  Create temporary
94         for the real type needed to make it work for subcomponent-references.
95
96 2009-01-21  Daniel Kraft  <d@domob.eu>
97
98         * trans-stmt.c (gfc_conv_elemental_dependencies):  Cleaned up comment.
99
100 2009-01-20  Paul Thomas  <pault@gcc.gnu.org>
101
102         PR fortran/38907
103         * resolve.c (check_host_association): Remove the matching to
104         correct an incorrect host association and use manipulation of
105         the expression instead.
106
107 2009-01-20  Tobias Burnus  <burnus@net-b.de>
108
109         * invoke.texi (RANGE): RANGE also takes INTEGER arguments.
110
111 2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>
112
113         PR fortran/38859
114         * simplify.c (simplify_bound): Don't use array specification
115         if variable or component has subsequent references.
116
117 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
118
119         PR fortran/38657
120         * module.c (write_common_0): Add argument 'this_module' and
121         check that non-use associated common blocks are written first.
122         (write_common): Call write_common_0 twice, once with true and
123         then with false.
124
125 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
126
127         PR fortran/34955
128         * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
129         been absorbed into gfc_conv_intrinsic_transfer. All
130         references to it in trans-intrinsic.c have been changed
131         accordingly.  PR fixed by using a temporary for scalar
132         character transfer, when the source is shorter than the
133         destination.
134
135 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
136
137         PR fortran/38657
138         * module.c (write_common_0): Revert patch of 2009-01-05.
139
140 2009-01-16  Janus Weil  <janus@gcc.gnu.org>
141
142         PR fortran/38152
143         * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
144         pointers as lvalue.
145         * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
146         Enable procedure pointers as module variables.
147
148 2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>
149
150         * ChangeLog-2007: Clean out svn merge droppings.
151
152 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
153
154         PR fortran/38763
155         * target-memory.c (encode_derived): Encode NULL.
156
157 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
158
159         PR fortran/38765
160         * resolve.c (check_host_association): Use the symtree name to
161         search for a potential contained procedure, since this is the
162         name by which it would be referenced.
163
164 2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
165
166         PR fortran/38220
167         * interface.c (gfc_procedure_use):  Don't warn about functions
168         from ISO_C_BINDING.
169         * symbol.c (generate_isocbinding_symbol):  Mark c_loc and
170         c_funloc as pure.
171
172 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
173
174         PR fortran/38657
175         * module.c (write_common_0): Use the name of the symtree rather
176         than the common block, to determine if the common has been
177         written.
178
179 2009-01-05  Daniel Franke  <franke.daniel@gmail.com>
180
181         PR fortran/37159
182         * check.c (gfc_check_random_seed): Added size check for GET
183         dummy argument, reworded error messages to follow common pattern.
184
185 2009-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
186
187         PR fortran/38672
188         * trans-types.c (gfc_get_derived_type):  Check for the
189         presence of derived->ns->proc_name before
190         accessing derived->ns->proc_name->attr.flavor .
191         * resolve.c (resolve_symbol):  Likewise.
192
193 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
194
195         PR fortran/38665
196         * gfortran.h : Add bit to gfc_expr 'user_operator'
197         * interface.c (gfc_extend_expr): Set the above if the operator
198         is substituted by a function. 
199         * resolve.c (check_host_association): Return if above is set.
200
201 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
202
203         PR fortran/35681
204         * ChangeLog-2008: Fix function name.
205
206         PR fortran/38487
207         * dependency.c (gfc_check_argument_var_dependency):
208         Move the check for pointerness inside the if block
209         so that it doesn't affect the return value.
210
211         PR fortran/38669
212         * trans-stmt.c (gfc_trans_call):
213         Add the dependency code after the loop bounds calculation one.
214
215 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
216
217         * intrinsic.c (do_simplify): Removed already implemented TODO.
218
219 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
220
221         PR fortran/38718
222         * simplify.c (gfc_simplify_merge): New.
223         * intrinsic.h (gfc_simplify_merge): New prototype.
224         * intrinsic.c (add_functions): Added simplification for MERGE.
225
226 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
227
228         PR fortran/38536
229         * gfortran.h (gfc_is_data_pointer): Added prototype
230         * resolve.c (gfc_iso_c_func_interface):
231         Use gfc_is_data_pointer to test for pointer attribute.
232         * dependency.c (gfc_is_data_pointer):
233         Support pointer-returning functions.
234
235 2009-01-03  Daniel Franke  <franke.daniel@gmail.com>
236
237         * symbol.c (save_symbol): Don't SAVE function results.
238
239 2009-01-03  Paul Thomas  <pault@gcc.gnu.org>
240
241         PR fortran/38594
242         * resolve.c (resolve_call): When searching for proper host
243         association, use symtree rather than symbol.  For everything
244         except generic subroutines, substitute the symtree in the call
245         rather than the symbol.