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