re PR fortran/45743 (gfortran.dg/whole_file_3.f90 ICE: verify_stmts failed: invalid...
[platform/upstream/gcc.git] / gcc / fortran / ChangeLog
1 2011-02-22  Paul Thomas  <pault@gcc.gnu.org>
2
3         PR fortran/45743
4         * trans-decl.c (gfc_get_extern_function_decl): Don't use the
5         gsymbol backend_decl if the procedure has a formal argument
6         that is a procedure.
7
8 2011-02-22  Tobias Burnus  <burnus@net-b.de>
9
10         PR fortran/41359
11         * trans-stmt.c (gfc_trans_if_1): Use correct line for
12         expressions in the if condition.
13
14 2011-02-20  Tobias Burnus  <burnus@net-b.de>
15
16         PR fortran/47797
17         * trans-decl.c (gfc_trans_deferred_vars): Use gfc_set_backend_locus and
18         gfc_restore_backend_locus to have better debug locations.
19         * trans-array.c (gfc_trans_deferred_array): Ditto.
20
21 2011-02-20  Paul Thomas  <pault@gcc.gnu.org>
22
23         PR fortran/45077
24         PR fortran/44945
25         * trans-types.c (gfc_get_derived_type): Remove code that looks
26         for decls in gsym and add call to gfc_get_module_backend_decl.
27         * trans.h : Add prototype for gfc_get_module_backend_decl.
28         * trans-decl.c (gfc_get_module_backend_decl): New function.
29         (gfc_get_symbol_decl): Call it.
30
31 2011-02-19  Paul Thomas  <pault@gcc.gnu.org>
32
33         PR fortran/47348
34         * trans-array.c (get_array_ctor_all_strlen): Move up in file.
35         (get_array_ctor_var_strlen): Add block dummy and add call to
36         get_array_ctor_all_strlen instead of giving up on substrings.
37         Call gcc_unreachable for default case.
38         (get_array_ctor_strlen): Add extra argument to in call to
39         get_array_ctor_var_strlen.
40
41 2011-02-18  Janus Weil  <janus@gcc.gnu.org>
42
43         PR fortran/47789
44         * primary.c (gfc_match_structure_constructor): Handle empty parent
45         types.
46
47 2011-02-18  Tobias Burnus
48
49         PR fortran/47775
50         * trans-expr.c (arrayfunc_assign_needs_temporary): Use
51         esym to check whether the specific procedure returns an
52         allocatable or pointer.
53
54 2011-02-18  Michael Matz  <matz@suse.de>
55
56         PR fortran/45586
57         * gfortran.h (struct gfc_component): Add norestrict_decl member.
58         * trans.h (struct lang_type): Add nonrestricted_type member.
59         * trans-expr.c (gfc_conv_component_ref): Search fields with correct
60         parent type.
61         * trans-types.c (mirror_fields, gfc_nonrestricted_type): New.
62         (gfc_sym_type): Use it.
63
64 2011-02-18  Janus Weil  <janus@gcc.gnu.org>
65
66         PR fortran/47768
67         * resolve.c (resolve_transfer): Reject variables with procedure pointer
68         components.
69
70 2011-02-18  Janus Weil  <janus@gcc.gnu.org>
71
72         PR fortran/47767
73         * gfortran.h (gfc_check_access): Removed prototype.
74         (gfc_check_symbol_access): Added prototype.
75         * module.c (gfc_check_access): Renamed to 'check_access', made static.
76         (gfc_check_symbol_access): New function, basically a shortcut for
77         'check_access'.
78         (write_dt_extensions,write_symbol0,write_generic,write_symtree): Use
79         'gfc_check_symbol_access'.
80         (write_operator,write_module): Renamed 'gfc_check_access'.
81         * resolve.c (resolve_fl_procedure,resolve_fl_derived,
82         resolve_fl_namelist,resolve_symbol,resolve_fntype): Use
83         'gfc_check_symbol_access'.
84
85 2011-02-16  Janus Weil  <janus@gcc.gnu.org>
86
87         PR fortran/47745
88         * class.c (gfc_build_class_symbol): Set 'class_ok' attribute.
89         * decl.c (build_sym,attr_decl1): Move setting of 'class_ok' into
90         'gfc_build_class_symbol'.
91         (gfc_match_decl_type_spec): Reject unlimited polymorphism.
92         * interface.c (matching_typebound_op): Check for 'class_ok' attribute.
93         * match.c (select_type_set_tmp): Move setting of 'class_ok' into
94         'gfc_build_class_symbol'.
95         * primary.c (gfc_variable_attr): Check for 'class_ok' attribute.
96
97 2011-02-15  Steven G. Kargl  <kargl@gcc.gnu.org>
98
99         PR fortran/47633
100         . simplify.c (gfc_simplify_compiler_version): Fix off-by-one issue.
101
102 2011-02-14  Janus Weil  <janus@gcc.gnu.org>
103
104         PR fortran/47730
105         * parse.c (gfc_build_block_ns): Commit 'block@' symbol.
106
107 2011-02-14  Janus Weil  <janus@gcc.gnu.org>
108
109         PR fortran/47728
110         * class.c (gfc_build_class_symbol): Give a fatal error on polymorphic
111         arrays.
112         * primary.c (gfc_match_varspec): Avoid ICE for invalid class
113         declaration.
114
115 2011-02-14  Janus Weil  <janus@gcc.gnu.org>
116
117         PR fortran/47349
118         * interface.c (get_expr_storage_size): Handle derived-type components.
119
120 2011-02-13  Tobias Burnus  <burnus@net-b.de>
121
122         PR fortran/47569
123         * interface.c (compare_parameter): Avoid ICE with
124         character components.
125
126 2011-02-12  Janus Weil  <janus@gcc.gnu.org>
127
128         * class.c (gfc_build_class_symbol): Reject polymorphic arrays.
129         * decl.c (build_sym,build_struct,attr_decl1): Use return value of
130         'gfc_build_class_symbol'.
131
132 2011-02-12  Michael Matz  <matz@suse.de>
133             Janus Weil  <janus@gcc.gnu.org>
134             Tobias Burnus  <burnus@net-b.de>
135
136         PR fortran/45586
137         * trans-expr.c (conv_parent_component_references): Avoid unintendent
138         skipping of parent compounds.
139
140 2011-02-11  Tobias Burnus  <burnus@net-b.de>
141
142         PR fortran/47550
143         * resolve.c (resolve_formal_arglist): PURE with VALUE
144         and no INTENT: Add -std= diagnostics.
145
146 2011-02-09  Janus Weil  <janus@gcc.gnu.org>
147
148         PR fortran/47352
149         * resolve.c (resolve_procedure_interface): If interface has a result
150         variable, copy the typespec and set result pointer to self.
151
152 2011-02-09  Janus Weil  <janus@gcc.gnu.org>
153
154         PR fortran/47463
155         * resolve.c (resolve_typebound_subroutine): Remove erroneous line.
156
157 2011-02-09  Janus Weil  <janus@gcc.gnu.org>
158
159         PR fortran/47637
160         * trans-decl.c (init_intent_out_dt): Handle CLASS arguments.
161
162 2011-02-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
163
164         * io.c (match_io_element): Do not set dt if not inquire.
165
166 2011-02-08  Janus Weil  <janus@gcc.gnu.org>
167
168         PR fortran/45290
169         * expr.c (gfc_check_assign_symbol): Reject pointers as pointer
170         initialization target.
171
172 2011-02-07  Janne Blomqvist  <jb@gcc.gnu.org>
173             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
174
175         * gfortran.texi (Thread-safety): texinfo styling fixes.
176         * intrinsic.texi: Likewise.
177
178 2011-02-06  Janne Blomqvist  <jb@gcc.gnu.org>
179
180         * gfortran.texi (Compiler Characteristics): Add reference to
181         thread-safety section.
182
183 2011-02-06  Janne Blomqvist  <jb@gcc.gnu.org>
184
185         * gfortran.texi (Thread-safety): New section.
186         * intrinsic.texi (EXECUTE_COMMAND_LINE): Mention thread-safety.
187         (GETENV): Likewise.
188         (GET_ENVIRONMENT_VARIABLE): Likewise.
189         (SYSTEM): Likewise.
190
191 2011-02-06  Paul Thomas  <pault@gcc.gnu.org>
192
193         PR fortran/47592
194         * trans-stmt.c (gfc_trans_allocate): For deferred character
195         length allocations with SOURCE, store to the values and string
196         length to avoid calculating twice.  Replace gfc_start_block
197         with gfc_init_block to avoid unnecessary contexts and to keep
198         declarations of temporaries where they should be. Tidy up the
199         code a bit.
200
201 2011-02-05  Janne Blomqvist  <jb@gcc.gnu.org>
202
203         PR fortran/42434
204         * intrinsic.texi (SYSTEM_CLOCK): Update documentation.
205
206 2011-02-02  Janus Weil  <janus@gcc.gnu.org>
207             Paul Thomas  <pault@gcc.gnu.org>
208
209         PR fortran/47082
210         * trans-expr.c (gfc_trans_class_init_assign): Add call to
211         gfc_get_derived_type.
212         * module.c (read_cleanup): Do not use unique_symtrees for vtabs
213         or vtypes.
214
215 2011-02-02  Janus Weil  <janus@gcc.gnu.org>
216
217         PR fortran/47572
218         * resolve.c (resolve_fl_variable): Handle polymorphic allocatables.
219
220 2011-02-01  Janus Weil  <janus@gcc.gnu.org>
221
222         PR fortran/47565
223         * trans-expr.c (gfc_conv_structure): Handle constructors for procedure
224         pointer components with allocatable result.
225
226 2011-01-31  Janus Weil  <janus@gcc.gnu.org>
227
228         PR fortran/47455
229         * trans-expr.c (gfc_conv_procedure_call): Handle procedure pointers
230         with pointer or allocatable result.
231
232 2011-01-31  Paul Thomas  <pault@gcc.gnu.org>
233
234         PR fortran/47519
235         * trans-stmt.c (gfc_trans_allocate): Improve handling of
236         deferred character lengths with SOURCE.
237         * iresolve.c (gfc_resolve_repeat): Calculate character
238         length from source length and ncopies.
239         * dump-parse-tree.c (show_code_node): Show MOLD and SOURCE
240         expressions for ALLOCATE.
241
242 2011-01-31  Janus Weil  <janus@gcc.gnu.org>
243
244         PR fortran/47463
245         * resolve.c (resolve_typebound_subroutine): Bug fix for the case of
246         an argument of a typebound assignment being a component.
247
248 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
249
250         * gfortranspec.c (add_arg_libgfortran) [HAVE_LD_STATIC_DYNAMIC] Use
251         LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
252
253 2011-01-31  Tobias Burnus  <burnus@net-b.de>
254
255         PR fortran/47042
256         * resolve.c (resolve_fl_procedure): Reject stmt functions
257         with pointer/allocatable attribute.
258
259 2011-01-31  Tobias Burnus  <burnus@net-b.de>
260
261         PR fortran/47042
262         * interface.c (gfc_procedure_use): Add explicit interface check for
263         pointer/allocatable functions.
264
265 2011-01-30  Paul Thomas  <pault@gcc.gnu.org>
266
267         PR fortran/47523
268         * trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
269         expr and is assigned to a deferred character length scalar,
270         make sure that the function is called before reallocation,
271         so that the length is available. Include procedure pointer
272         and procedure pointer component rhs as well.
273
274         PR fortran/45170
275         PR fortran/35810
276         PR fortran/47350
277         * gfortran.dg/allocatable_function_5.f90: New test not added by
278         mistake on 2011-01-28.
279
280 2011-01-29  Tobias Burnus  <burnus@net-b.de>
281
282         PR fortran/47531
283         * check.c (gfc_check_shape): Support kind argument in SHAPE.
284         * intrinsic.c (add_functions): Ditto.
285         * resolve.c (gfc_resolve_shape): Ditto.
286         * simplify.c (gfc_simplify_shape): Ditto.
287         * intrinsic.h (gfc_check_shape, gfc_resolve_shape,
288         gfc_simplify_shape): Update prototypes.
289         * intrinisc.text (SHAPE): Document kind argument.
290
291 2011-01-28  Tobias Burnus  <burnus@net-b.de>
292
293         PR fortran/47507
294         * resolve.c (resolve_formal_arglist): Allow arguments with VALUE
295         attribute also without INTENT.
296
297 2011-01-28  Tobias Burnus  <burnus@net-b.de>
298
299         * gfortran.texi (Fortran 2003 status): Mention support for
300         nonconstant namelist variables.
301
302 2011-01-28  Paul Thomas  <pault@gcc.gnu.org>
303             Tobias Burnus  <burnus@gcc.gnu.org>
304
305         PR fortran/45170
306         PR fortran/35810
307         PR fortran/47350
308         * interface.c (compare_actual_formal): An allocatable or pointer
309         deferred length actual is only allowed if the formal argument
310         is also deferred length. Clean up whitespace.
311         * trans-expr.c (gfc_conv_procedure_call): Pass string length for
312         deferred character length formal arguments by reference. Do the
313         same for function results.
314         (gfc_trans_pointer_assignment): Do not do runtime check of lhs
315         and rhs character lengths, if deferred length lhs.  In this case
316         set the lhs character length to that of the rhs.
317         (gfc_conv_string_parameter): Remove assert that string length is
318         an integer type.
319         (is_scalar_reallocatable_lhs): New function.
320         (alloc_scalar_allocatable_for_assignment): New function.
321         (gfc_trans_assignment_1): Call above new function. If the rhs is
322         a deferred character length itself, makes ure that the function
323         is called before reallocation, so that the length is available.
324         (gfc_trans_asssignment): Remove error about assignment to
325         deferred length character variables.
326         * gfortran.texi : Update entry about (re)allocation on
327         assignment.
328         * trans-stmt.c (gfc_trans_allocate): Add code to handle deferred
329         length character variables.
330         * module.c (mio_typespec): Transfer deferred characteristic.
331         * trans-types.c (gfc_get_function_type): New code to generate
332         hidden typelist, so that those character lengths that are
333         passed by reference get the right type.
334         * resolve.c (resolve_contained_fntype): Supress error for
335         deferred character length functions.
336         (resolve_function, resolve_fl_procedure) The same.
337         (check_symbols): Remove the error that support for
338         entity with deferred type parameter is not yet implemented.
339         (resolve_fl_derived): The same.
340         match.c (alloc_opt_list): Allow MOLD for deferred length object.
341         * trans-decl.c (gfc_get_symbol_decl): For deferred character
342         length dummies, generate a local variable for string length.
343         (create_function_arglist): Hidden length can be a pointer.
344         (gfc_trans_deferred_vars): For deferred character length
345         results and dummies, assign the string length to the local
346         variable from the hidden argument on entry and the other way
347         round on exit, as appropriate.
348
349 2011-01-27  Tobias Burnus  <burnus@net-b.de>
350
351         PR fortran/47474
352         * trans-decl.c (gfc_generate_function_code): Fix init
353         of allocatable result variable with allocatable components.
354
355 2011-01-27  Tobias Burnus  <burnus@net-b.de>
356
357         PR fortran/47472
358         * options.c (gfc_handle_module_path_options): Save
359         module path without trailing slash as include path.
360
361 2011-01-25  Tobias Burnus  <burnus@net-b.de>
362
363         PR fortran/47448
364         * interface.c (gfc_check_operator_interface): Fix
365         defined-assignment check.
366
367 2011-01-23  Tobias Burnus  <burnus@net-b.de>
368
369         PR fortran/47421
370         * trans-decl.c (gfc_trans_deferred_vars): Do not nullify
371         scalar allocatable dummy arguments.
372
373 2011-01-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
374
375         PR fortran/38536
376         * resolve.c (gfc_iso_c_func_interface):  For C_LOC,
377         check for array sections followed by component references
378         which are illegal.  Also check for coindexed arguments.
379
380 2011-01-22  Tobias Burnus  <burnus@net-b.de>
381
382         PR fortran/47399
383         * primary.c (gfc_match_varspec): Relax gcc_assert to allow for
384         PARAMETER TBP.
385
386 2011-01-21  Tobias Burnus  <burnus@net-b.de>
387
388         PR fortran/47394
389         * error.c (gfc_error_now, gfc_fatal_error, gfc_error_check):
390         Use defined instead of magic number exit status codes.
391         * scanner.c (include_line, gfc_new_file): Ditto.
392
393 2011-01-21  Tobias Burnus  <burnus@net-b.de>
394
395         PR fortran/47377
396         * expr.c (gfc_check_pointer_assign): Reject expr data-targets
397         without pointer attribute.
398
399 2011-01-18  Janus Weil  <janus@gcc.gnu.org>
400
401         PR fortran/47240
402         * resolve.c (expression_rank): Fix rank of procedure poiner components.
403         * trans-expr.c (gfc_conv_procedure_call): Take care of procedure
404         pointer components as actual arguments.
405
406 2011-01-17  Jakub Jelinek  <jakub@redhat.com>
407
408         PR fortran/47331
409         * gfortran.h (struct gfc_omp_saved_state): New type.
410         (gfc_omp_save_and_clear_state, gfc_omp_restore_state): New prototypes.
411         * resolve.c (resolve_global_procedure): Call it around gfc_resolve
412         call.
413         * openmp.c (gfc_omp_save_and_clear_state, gfc_omp_restore_state): New
414         functions.
415
416 2011-01-17  Tobias Burnus  <burnus@net-b.de>
417
418         PR fortran/47327
419         * invoke.texi (Options to request or suppress errors
420         and warnings): Fix cross link.
421
422 2011-01-15  Tobias Burnus  <burnus@net-b.de>
423
424         * gfortran.texi: Update Fortran 2003 Status section.
425
426         PR fortran/47177
427         * invoke.texi: Add missing "-E" to the -dM example.
428
429 2011-01-13  Tobias Burnus  <burnus@net-b.de>
430
431         PR fortran/47268
432         * intrinsic.texi (get_command_argument, get_environment_variable):
433         Mark arguments as optional in the Arguments section.
434
435 2011-01-13  Kai Tietz  <kai.tietz@onevision.com>
436             Tobias Burnus  <burnus@net-b.de>
437
438         PR fortran/47260
439         * trans-decl.c (gfc_get_extern_function_decl,
440         build_function_decl): Set TREE_PUBLIC/TREE_EXTERNAL before
441         calling decl_attributes.
442
443 2011-01-13  Tobias Burnus  <burnus@net-b.de>
444             Mikael Morin  <mikael@gcc.gnu.org>
445
446         PR fortran/45848
447         PR fortran/47204
448         * gfortran.h (gfc_code): Move union ext's case_list into
449         the struct block.
450         * dump-parse-tree.c (show_code_node): Adapt by prefixing case_list
451         by "block.".
452         * frontend-passes.c (gfc_code_walker): Ditto.
453         * match.c (gfc_match_goto, gfc_match_call, gfc_match_case,
454         gfc_match_type_is, gfc_match_class_is): Ditto.
455         * resolve.c (resolve_select, resolve_select_type): Ditto.
456         * st.c (gfc_free_statement): Ditto.
457         * trans-stmt.c (gfc_trans_integer_select, gfc_trans_logical_select,
458         gfc_trans_character_select): Ditto.
459         * parse.c (resolve_all_program_units): For error recovery, avoid
460         segfault is proc_name is NULL.
461
462 2011-01-11  Paul Thomas  <pault@gcc.gnu.org>
463
464         PR fortran/47051
465         * trans-array.c (gfc_alloc_allocatable_for_assignment): Change
466         to be standard compliant by testing for shape rather than size
467         before skipping reallocation. Improve comments.
468
469 2011-01-09  Janus Weil  <janus@gcc.gnu.org>
470
471         PR fortran/47224
472         * resolve.c (resolve_actual_arglist): Remove unneeded and buggy piece
473         of code.
474
475 2011-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
476
477         PR fortran/38536
478         * resolve.c (is_scalar_expr_ptr):  For a substring reference,
479         use gfc_dep_compare_expr to compare start and end expession.
480         Add FIXME for using gfc_deb_compare_expr elsewhere.
481
482 2011-01-09  Janus Weil  <janus@gcc.gnu.org>
483
484         PR fortran/46313
485         * class.c (get_unique_type_string): Make type name start with upper
486         case letter.
487
488 2011-01-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
489
490         PR fortran/46405
491         * invoke.texi:  Mention -ffree-line-length-none and
492         -ffixed-line-length-none for preprocessing.
493
494 2011-01-08  Paul Thomas  <pault@gcc.gnu.org>
495
496         PR fortran/46896
497         * trans-expr.c (gfc_conv_procedure_call): With a non-copying
498         procedure argument (eg TRANSPOSE) use a temporary if there is
499         any chance of aliasing due to host or use association.
500         (arrayfunc_assign_needs_temporary): Correct logic for function
501         results and do not use a temporary for implicitly PURE
502         variables.  Use a temporary for Cray pointees.
503         * symbol.c (gfc_add_save): Explicit SAVE not compatible with
504         implicit pureness of containing procedure.
505         * decl.c (match_old_style_init, gfc_match_data): Where decl
506         would fail in PURE procedure, set implicit_pure to zero.
507         * gfortran.h : Add implicit_pure to structure symbol_attr and
508         add prototype for function gfc_implicit_pure.
509         * expr.c (gfc_check_pointer_assign, gfc_check_vardef_context):
510         Where decl would fail in PURE procedure, reset implicit_pure.
511         * io.c (match_vtag, gfc_match_open, gfc_match_close,
512         gfc_match_print, gfc_match_inquire, gfc_match_wait): The same.
513         * match.c (gfc_match_critical, gfc_match_stopcode,
514         sync_statement, gfc_match_allocate, gfc_match_deallocate): The
515         same.
516         * parse.c (decode_omp_directive): The same.
517         (parse_contained): If not PURE, set implicit pure attribute.
518         * resolve.c (resolve_formal_arglist, resolve_structure_cons,
519         resolve_function, resolve_ordinary_assign) : The same.
520         (gfc_implicit_pure): New function.
521         * module.c (mio_symbol_attribute): Introduce AB_IMPLICIT_PURE
522         to ab_attribute enum and use it in this function.
523
524 2011-01-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
525
526         PR fortran/45777
527         * symbol.c (gfc_symbols_could_alias):  Strip gfc_ prefix,
528         make static and move in front of its only caller, to ...
529         * trans-array.c (symbols_could_alias): ... here.
530         Pass information about pointer and target status as
531         arguments.  Allocatable arrays don't alias anything
532         unless they have the POINTER attribute.
533         (gfc_could_be_alias):  Keep track of pointer and target
534         status when following references.  Also check if typespecs
535         of components match those of other components or symbols.
536
537 2011-01-07  Tobias Burnus  <burnus@net-b.de>
538
539         PR fortran/41580
540         * class.c (gfc_build_class_symbol): Mark __vtab as attr.vtab.
541         * intrinsic.c (add_functions): Use simplify functions for
542         EXTENDS_TYPE_OF and SAME_TYPE_AS.
543         * intrinsic.h (gfc_simplify_extends_type_of,
544         gfc_simplify_same_type_as): New prototypes.
545         * simplify.c (is_last_ref_vtab, gfc_simplify_extends_type_of,
546         gfc_simplify_same_type_as): New functions.
547
548 2011-01-07  Janus Weil  <janus@gcc.gnu.org>
549
550         PR fortran/47189
551         PR fortran/47194
552         * gfortran.h (gfc_lval_expr_from_sym): Moved prototype.
553         * class.c (gfc_class_null_initializer): Initialize _vptr to declared
554         type.
555         * expr.c (gfc_lval_expr_from_sym): Moved here from symbol.c.
556         * resolve.c (resolve_deallocate_expr): _data component will be added
557         at translation stage.
558         * symbol.c (gfc_lval_expr_from_sym): Moved to expr.c.
559         * trans-stmt.c (gfc_trans_deallocate): Reset _vptr to declared type.
560
561 2011-01-06  Daniel Franke  <franke.daniel@gmail.com>
562
563         PR fortran/33117
564         PR fortran/46478
565         * parse.c (parse_interface): Remove check for procedure types.
566         * interface.c (check_interface0): Verify that procedures are
567         either all SUBROUTINEs or all FUNCTIONs.
568
569 2011-01-05  Janus Weil  <janus@gcc.gnu.org>
570
571         PR fortran/47180
572         * trans-expr.c (gfc_trans_class_assign): Bugfix for r168524 (make sure
573         'vtab' is initialized).
574
575 2011-01-05  Janus Weil  <janus@gcc.gnu.org>
576
577         PR fortran/47180
578         * trans-expr.c (gfc_trans_class_assign): For a polymorphic NULL pointer
579         assignment, set the _vptr component to the declared type.
580
581 2011-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
582
583         PR fortran/46017
584         * resolve.c (resolve_allocate_deallocate): Follow references to
585         check for duplicate occurence of allocation/deallocation objects.
586
587 2011-01-05  Janus Weil  <janus@gcc.gnu.org>
588
589         PR fortran/47024
590         * trans-decl.c (gfc_trans_deferred_vars): Initialize the _vpr component
591         of polymorphic allocatables according to their declared type.
592
593 2011-01-04  Janus Weil  <janus@gcc.gnu.org>
594
595         PR fortran/46448
596         * class.c (gfc_find_derived_vtab): Set the module field for the copying
597         routine to make sure it receives module name mangling.
598
599 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
600
601         * gfortranspec.c (lang_specific_driver): Update copyright notice
602         dates.
603
604 2011-01-03  Janus Weil  <janus@gcc.gnu.org>
605
606         * intrinsic.texi (LEADZ): Fix example.
607
608 2011-01-02  Janus Weil  <janus@gcc.gnu.org>
609
610         PR fortran/46408
611         * class.c (gfc_find_derived_vtab): Use EXEC_INIT_ASSIGN for __copy_
612         routine.
613
614 \f
615 Copyright (C) 2011 Free Software Foundation, Inc.
616
617 Copying and distribution of this file, with or without modification,
618 are permitted in any medium without royalty provided the copyright
619 notice and this notice are preserved.