OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [fortran/] [ChangeLog] - Blame information for rev 718

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 712 jeremybenn
2012-02-29  Paul Thomas  
2
 
3
        PR fortran/52386
4
        * trans-expr.c (fcncall_realloc_result): Dereference the
5
        descriptor if needed.
6
 
7
2012-02-22  Tobias Burnus  
8
 
9
        PR fortran/52335
10
        * io.c (gfc_match_open): Remove bogus F2003 DELIM= check.
11
 
12
2012-02-18  Tobias Burnus  
13
 
14
        PR fortran/52295
15
        * interface.c (check_interface0): Internal procs in
16
        generic interfaces are allowed in Fortran 2008.
17
 
18
2012-02-17  Tobias Burnus  
19
            Roland Stigge  
20
 
21
        PR translation/52273
22
        * interface.c (compare_actual_formal): Fix typo "at at".
23
 
24
2012-02-17  Tobias Burnus  
25
 
26
        * gfortran.texi (Q exponent-letter): Fix grammar.
27
 
28
2012-02-17  Tobias Burnus  
29
 
30
        * gfortran.texi (Status): Fix typos.
31
        * invoke.texi (ffixed-form, fstack-arrays): Spell Fortran with
32
        a majuscule.
33
 
34
2012-02-17  Tobias Burnus  
35
            Roland Stigge  
36
 
37
        PR translation/52232
38
        PR translation/52234
39
        PR translation/52245
40
        PR translation/52246
41
        PR translation/52262
42
        PR translation/52273
43
        * io.c (gfc_match_open): Fix typo.
44
        * interface.c (compare_actual_formal): Ditto.
45
        * lang.opt (freal-4-real-8, freal-4-real-16, freal-8-real-16): Ditto.
46
        * match.c (alloc_opt_list, gfc_match_nullify): Ditto.
47
        * check.c (gfc_check_associated, gfc_check_null): Ditto.
48
 
49
2012-02-12  Mikael Morin  
50
 
51
        PR fortran/50981
52
        * trans-stmt.c (gfc_get_proc_ifc_for_call): New function.
53
        (gfc_trans_call): Use gfc_get_proc_ifc_for_call.
54
 
55
2012-02-12  Mikael Morin  
56
 
57
        * trans-array.c (gfc_walk_elemental_function_args,
58
        gfc_walk_function_expr): Move call to gfc_get_proc_ifc_for_expr out
59
        of gfc_walk_elemental_function_args.
60
        * trans-stmt.c (gfc_trans_call): Ditto.
61
        * trans-array.h (gfc_get_proc_ifc_for_expr): New prototype.
62
        (gfc_walk_elemental_function_args): Update prototype.
63
 
64
2012-02-12  Mikael Morin  
65
 
66
        * trans-array.c (gfc_get_proc_ifc_for_expr): New function.
67
        (gfc_walk_elemental_function_args): Move code to
68
        gfc_get_proc_ifc_for_expr and call it.
69
 
70
2012-02-08  Tobias Burnus  
71
 
72
        PR fortran/52151
73
        * trans-expr.c (fcncall_realloc_result): Set also the stride.
74
 
75
2012-02-07  Tobias Burnus  
76
 
77
        PR fortran/51514
78
        * trans-expr.c (gfc_conv_procedure_call): Add _data component
79
        for calls of scalar CLASS actuals to TYPE dummies.
80
 
81
2012-02-05  Thomas König  
82
 
83
        PR fortran/48847
84
        * trans-decl.c:  Warn about unused dummy procedure arguments
85
        if -Wunused-dummy-argument is specified.  Suppress middle-end
86
        warnings about procedure arguments.
87
 
88
2012-02-05  Paul Thomas  
89
 
90
        * trans-array.c (gfc_array_allocate): Zero memory for all class
91
        array allocations.
92
        * trans-stmt.c (gfc_trans_allocate): Ditto for class scalars.
93
 
94
        PR fortran/52102
95
        * trans-stmt.c (gfc_trans_allocate): Before correcting a class
96
        array reference, ensure that 'dataref' points to the _data
97
        component that is followed by the array reference..
98
 
99
2012-02-02  Mikael Morin  
100
 
101
        PR fortran/41587
102
        PR fortran/46356
103
        PR fortran/51754
104
        PR fortran/50981
105
        * class.c (insert_component_ref, class_data_ref_missing,
106
        gfc_fix_class_refs): New functions.
107
        * gfortran.h (gfc_fix_class_refs): New prototype.
108
        * trans-expr.c (gfc_conv_expr): Remove special case handling and call
109
        gfc_fix_class_refs instead.
110
 
111
2012-02-02  Paul Thomas  
112
 
113
        PR fortran/52012
114
        * trans-expr.c (fcncall_realloc_result): If variable shape is
115
        correct, retain the bounds, whatever they are.
116
 
117
2012-02-02  Tobias Burnus  
118
 
119
        PR fortran/52093
120
        * simplify.c (gfc_simplify_size): Handle INTRINSIC_PARENTHESES.
121
 
122
2012-02-01  Thomas König  
123
 
124
        PR fortran/51958
125
        * frontend-passes.c (convert_elseif):  New function.
126
        (optimize_namespace):  Call it.
127
 
128
2012-02-01  Tobias Burnus  
129
 
130
        PR fortran/52024
131
        * module.c (MOD_VERSION): Bump.
132
        (mio_typebound_proc): Read/write is_operator from/to the
133
        .mod file.
134
 
135
2012-02-01  Tobias Burnus  
136
 
137
        PR fortran/52059
138
        * trans-expr.c (gfc_conv_procedure_call): Add array ref
139
        only to variables.
140
 
141
2012-01-31  Tobias Burnus  
142
 
143
        PR fortran/52024
144
        * gfortran.h (gfc_tbp_generic): Store whether the
145
        generic is an operator.
146
        * decl.c (gfc_match_generic): Set that flag.
147
        * resolve.c (check_generic_tbp_ambiguity): Use it in the
148
        gfc_compare_interfaces check.
149
 
150
2012-01-31  Tobias Burnus  
151
 
152
        PR fortran/52029
153
        * class.c (gfc_find_derived_vtab): Mark _copy function as pure.
154
 
155
2012-01-31  Tobias Burnus  
156
 
157
        PR fortran/52013
158
        * class.c (get_unique_hashed_string): Adapt trim length.
159
        (gfc_build_class_symbol) Encode also corank in the container name.
160
 
161
2012-01-31  Paul Thomas  
162
 
163
        PR fortran/52012
164
        * trans-expr.c (fcncall_realloc_result): Correct calculation of
165
        result offset.
166
 
167
2012-01-29  Janne Blomqvist  
168
 
169
        * module.c (pointer_info): Make true_name and module pointers
170
        rather than arrays, order pointers before other fields.
171
        (free_pi_tree): free true_name and module as well.
172
        (mio_read_string): Rename to read_string.
173
        (mio_write_string): Remove.
174
        (load_commons): Use read_string.
175
        (read_module): Use read_string rather than mio_internal_string.
176
        (write_blank_common): Call write_atom directly.
177
        (write_symbol): Likewise.
178
 
179
2012-01-29  Tobias Burnus  
180
 
181
        PR fortran/41600
182
        * expr.c (gfc_default_initializer): Convert the values if
183
        the type does not match.
184
 
185
2012-01-29  Tobias Burnus  
186
 
187
        PR fortran/51972
188
        * trans-array.c (structure_alloc_comps): Fix assignment of
189
        polymorphic components (polymorphic deep copying).
190
 
191
2012-01-29  Janne Blomqvist  
192
 
193
        PR fortran/51808
194
        * decl.c (set_binding_label): Make binding_label argument const.
195
        (curr_binding_label): Constify.
196
        * gfortran.h (gfc_symbol): Constify binding_label.
197
        (gfc_common_head): Likewise.
198
        (get_iso_c_sym): Likewise.
199
        * match.c (gfc_match_name_C): Constify buffer argument.
200
        * match.h (gfc_match_name_C): Likewise.
201
        * resolve.c (set_name_and_label): Constify binding_label argument.
202
        (gfc_iso_c_sub_interface): Constify binding_label variable.
203
        * symbol.c (get_iso_c_sym): Constify binding_label argument.
204
 
205
2012-01-29  Janne Blomqvist  
206
 
207
        PR fortran/51808
208
        * decl.c (set_binding_label): Move prototype from match.h to here.
209
        (curr_binding_label): Make a pointer rather than static array.
210
        (build_sym): Check sym->binding_label pointer rather than array,
211
        update set_binding_label call, handle curr_binding_label changes.
212
        (set_binding_label): Handle new curr_binding_label, dest_label
213
        double ptr, and sym->binding_label.
214
        (verify_bind_c_sym): Handle sym->binding_label being a pointer.
215
        (set_verify_bind_c_sym): Check sym->binding_label pointer rather
216
        than array, update set_binding_label call.
217
        (gfc_match_bind_c_stmt): Handle curr_binding_label change.
218
        (match_procedure_decl): Update set_binding_label call.
219
        (gfc_match_bind_c): Change binding_label to pointer, update
220
        gfc_match_name_C call.
221
        * gfortran.h (GFC_MAX_BINDING_LABEL_LEN): Remove macro.
222
        (gfc_symbol): Make binding_label a pointer.
223
        (gfc_common_head): Likewise.
224
        * match.c (gfc_match_name_C): Heap allocate bind(C) name.
225
        * match.h (gfc_match_name_C): Change prototype argument.
226
        (set_binding_label): Move prototype to decl.c.
227
        * module.c (struct pointer_info): Make binding_label a pointer.
228
        (free_pi_tree): Free unused binding_label.
229
        (mio_read_string): New function.
230
        (mio_write_string): New function.
231
        (load_commons): Redo reading of binding_label.
232
        (read_module): Likewise.
233
        (write_common_0): Change to write empty string instead of name if
234
        no binding_label.
235
        (write_blank_common): Write empty string for binding label.
236
        (write_symbol): Change to write empty string instead of name if no
237
        binding_label.
238
        * resolve.c (gfc_iso_c_func_interface): Don't set binding_label.
239
        (set_name_and_label): Make binding_label double pointer, use
240
        asprintf.
241
        (gfc_iso_c_sub_interface): Make binding_label a pointer.
242
        (resolve_bind_c_comms): Handle cases if
243
        gfc_common_head->binding_label is NULL.
244
        (gfc_verify_binding_labels): sym->binding_label is a pointer.
245
        * symbol.c (gfc_new_symbol): Rely on XCNEW zero init for
246
        binding_label.
247
        (gen_special_c_interop_ptr): Don't set binding label.
248
        (generate_isocbinding_symbol): Insert binding_label into symbol
249
        table.
250
        (get_iso_c_sym): Use pointer assignment instead of strcpy.
251
        * trans-common.c (gfc_sym_mangled_common_id): Handle
252
        com->binding_label being a pointer.
253
        * trans-decl.c (gfc_sym_mangled_identifier): Handle
254
        sym->binding_label being a pointer.
255
        (gfc_sym_mangled_function_id): Likewise.
256
 
257
2012-01-29  Tobias Burnus  
258
 
259
        PR fortran/52038
260
        * resolve.c (symbol_as): Remove unused, accidentally
261
        added function.
262
 
263
2012-01-28  Tobias Burnus  
264
 
265
        PR fortran/51972
266
        * trans-stmt.c (gfc_trans_allocate): Properly check whether
267
        we have a BT_CLASS which needs to be memset.
268
 
269
2012-01-27  Tobias Burnus  
270
 
271
        PR fortran/52022
272
        * trans-expr.c (gfc_conv_procedure_call): Fix passing
273
        of functions, which return allocatables.
274
 
275
2012-01-27  Tobias Burnus  
276
 
277
        PR fortran/52016
278
        * resolve.c (resolve_formal_arglist): Fix elemental
279
        constraint checks for polymorphic dummies also for
280
        pointers.
281
 
282
2012-01-27  Tobias Burnus  
283
 
284
        PR fortran/51970
285
        PR fortran/51977
286
        * primary.c (gfc_match_varspec. gfc_match_rvalue): Set
287
        handle array spec for BT_CLASS.
288
        * expr.c (gfc_get_variable_expr, gfc_lval_expr_from_sym)
289
        * frontend-passes.c (create_var): Ditto.
290
        * resolve.c (resolve_actual_arglist, resolve_assoc_var): Ditto.
291
        * trans-decl.c (gfc_trans_deferred_vars): Use class_pointer
292
        instead of attr.pointer.
293
        (gfc_generate_function_code): Use CLASS_DATA (sym) for BT_CLASS.
294
        * trans-intrinsic.c (conv_intrinsic_move_alloc): Move assert.
295
        * trans-stmt.c (trans_associate_var): Ask for the descriptor.
296
 
297
2012-01-27  Tobias Burnus  
298
 
299
        PR fortran/51953
300
        * match.c (gfc_match_allocate): Allow more than allocate
301
        object with SOURCE=.
302
 
303
2012-01-27  Tobias Burnus  
304
 
305
        PR fortran/52016
306
        * resolve.c (resolve_formal_arglist): Fix elemental
307
        constraint checks for polymorphic dummies.
308
 
309
2012-01-27  Paul Thomas  
310
            Tobias Burnus 
311
 
312
        PR fortran/48705
313
        PR fortran/51870
314
        PR fortran/51943
315
        PR fortran/51946
316
        * trans-array.c (gfc_array_init_size): Add two extra arguments
317
        to convey the dynamic element size of a calls object and to
318
        return the number of elements that have been allocated.
319
        (gfc_array_allocate): Add the same arguments and use them to
320
        call gfc_array_init_size.  Before the allocation dereference
321
        the data pointer, if necessary. Set the allocated array to zero
322
        if the class element size or expr3 are non-null.
323
        * trans-expr.c (gfc_conv_class_to_class): Give this function
324
        global scope.
325
        (get_class_array_ref): New function.
326
        (gfc_copy_class_to_class): New function.
327
        * trans-array.h : Update prototype for gfc_array_allocate.
328
        * trans-stmt.c (gfc_trans_allocate): For non-variable class
329
        STATUS expressions extract the class object and the dynamic
330
        element size. Use the latter to call gfc_array_allocate and
331
        the former for setting the vptr and, via
332
        gfc_copy_class_to_clasfc_cs, to copy to the allocated data.
333
        * trans.h : Prototypes for gfc_get_class_array_ref,
334
        gfc_copy_class_to_class and gfc_conv_class_to_class.
335
 
336
2012-01-25  Tobias Burnus  
337
 
338
        * resolve.c (symbol_as): Check also for attr.class_ok.
339
 
340
2012-01-25  Tobias Burnus  
341
 
342
        PR fortran/51995
343
        * class.c (gfc_build_class_symbol): Fix invalid freeing
344
        issue with fclass->f2k_derived.
345
 
346
2012-01-25  Tobias Burnus  
347
 
348
        PR fortran/51995
349
        * class.c (gfc_build_class_symbol): Ensure that
350
        fclass->f2k_derived is set.
351
 
352
2012-01-25  Tobias Burnus  
353
 
354
        PR fortran/51966
355
        * resolve.c (resolve_structure_cons): Only create an
356
        array constructors for nonscalars.
357
 
358
2012-01-23  Tobias Burnus  
359
 
360
        PR fortran/51948
361
        * check.c (variable_check): Fix checking for
362
         variables and deeply nested BLOCKs.
363
 
364
2012-01-21  Tobias Burnus  
365
            Steven G. Kargl  
366
 
367
        PR fortran/50556
368
        * symbol.c (check_conflict): namelist-group-name cannot have the SAVE
369
        attribute.
370
 
371
2012-01-21  Tobias Burnus  
372
 
373
        PR fortran/51913
374
        * interface.c (compare_parameter): Fix CLASS comparison.
375
 
376
2012-01-20  Tobias Burnus  
377
            Janus Weil  
378
 
379
        PR fortran/51056
380
        * module.c (load_needed, read_module): Don't mark __vtab etc.
381
        as use_only.
382
 
383
2012-01-19  Tobias Burnus  
384
 
385
        PR fortran/51904
386
        * expr.c (gfc_build_intrinsic_call): Also set the symtree.
387
 
388
2012-01-18  Paul Thomas  
389
 
390
        PR fortran/51634
391
        * trans-expr.c (gfc_conv_procedure_call): Deallocate allocatable
392
        components of temporary class arguments.
393
 
394
2012-01-17  Tobias Burnus  
395
            Janne Blomqvist  
396
 
397
        PR fortran/51869
398
        * trans-expr.c (alloc_scalar_allocatable_for_assignment): Nullify
399
        LHS after allocation, if it has allocatable components.
400
        * f95-lang.c (gfc_init_builtin_functions): Add BUILT_IN_CALLOC.
401
 
402
2012-01-16  Mikael Morin  
403
            Tobias Burnus  
404
 
405
        PR fortran/50981
406
        * trans-array.c (gfc_walk_elemental_function_args): Fix
407
        passing of deallocated allocatables/pointers as absent argument.
408
 
409
2012-01-16  Tobias Burnus  
410
 
411
        PR fortran/51809
412
        * class.c (gfc_find_derived_vtab): Mark __vtab and
413
        __def_init as FL_VARIABLE not as FL_PARAMETER.
414
        * expr.c (gfc_simplify_expr): Remove special
415
        handling of __vtab.
416
        * resolve.c (resolve_values): Ditto.
417
        * trans-decl.c (gfc_get_symbol_decl): Mark __vtab
418
        and __def_init as TREE_READONLY.
419
 
420
2012-01-16  Zydrunas Gimbutas  
421
        Andreas Kloeckner  
422
        Steven G. Kargl  
423
 
424
        PR fortran/48426
425
        * gfortran.h (gfc_option_t): Add members flag_*_kind to store kind.
426
        * lang.opt: Add options -freal-4-real-8, -freal-4-real-10,
427
        -freal-4-real-16, -freal-8-real-4, -freal-8-real-10, -freal-8-real-16
428
        and -finteger-4-integer-8. User-desired type conversion information.
429
        * decl.c (gfc_match_old_kind_spec,kind_expr): Type conversions
430
        in declaration parsing.
431
        * trans-types.c (gfc_init_kinds): User-specified type conversion
432
        checked for current backend.
433
        * primary.c (match_integer_constant,match_real_constant): Implement
434
        type conversion in constant parsing.
435
        * options.c (gfc_init_options,gfc_handle_option): Translate input
436
        options to flags in internal options data structure.
437
        * invoke.texi: Document new options.  Re-order options in Options
438
        summary section.
439
 
440
2012-01-16  Paul Thomas  
441
 
442
        * trans-array.c (gfc_trans_create_temp_array): In the case of a
443
        class array temporary, detect a null 'eltype' on entry and use
444
        'initial' to provde the class reference and so, through the
445
        vtable, the element size for the dynamic type.
446
        * trans-stmt.c (gfc_conv_elemental_dependencies): For class
447
        expressions, set 'eltype' to null and pass the values via the
448
        'initial' expression.
449
 
450
2012-01-14  Tobias Burnus  
451
 
452
        PR fortran/51800
453
        * resolve.c (build_default_init_expr): Also initialize
454
        nonconstant-length strings with -finit-character=.
455
 
456
2011-01-14  Tobias Burnus  
457
 
458
        PR fortran/51816
459
        * module.c (read_module): Don't make nonexisting
460
        intrinsic operators as found.
461
        (rename_list_remove_duplicate): New function.
462
        (gfc_use_modules): Use it.
463
 
464
2012-01-13  Paul Thomas  
465
 
466
        PR fortran/48351
467
        * trans-array.c (structure_alloc_comps): Suppress interative
468
        call to self, when current component is deallocated using
469
        gfc_trans_dealloc_allocated.
470
        * class.c (gfc_build_class_symbol): Copy the 'alloc_comp'
471
        attribute from the declared type to the class structure.
472
 
473
2012-01-13  Tobias Burnus  
474
 
475
        PR fortran/51842
476
        * fortran/trans-types.c (gfc_init_kinds): Use PTRDIFF_TYPE
477
        instead of a signed int of size POINTER_SIZE for
478
        gfc_index_integer_kind.
479
 
480
2012-01-12  Tobias Burnus  
481
 
482
        PR fortran/36755
483
        * intrinsic.texi (CHMOD): Extend a bit and remove statement
484
        that /bin/chmod is called.
485
 
486
2012-01-10  Gerald Pfeifer  
487
 
488
        * gfortran.texi (Fortran 2003 Status): Fix grammar.
489
 
490
2012-01-10  Tobias Burnus  
491
 
492
        PR fortran/51652
493
        * resolve.c (resolve_allocate_expr): For non-deferred char lengths,
494
        check whether type-spec matches declaration.
495
 
496
2012-01-10  Tobias Burnus  
497
 
498
        * resolve.c (resolve_ordinary_assign): Improve error wording.
499
 
500
2012-01-09  Paul Thomas  
501
 
502
        PR fortran/51791
503
        * interface.c (matching_typebound_op): Drill down through
504
        possible parentheses to obtain base expression. Do not test for
505
        'class_ok' but, instead for the class structure components.
506
        * resolve.c (resolve_ordinary_assign): Extend error message for
507
        polymorphic assignment to advise checking for specific
508
        subroutine.
509
 
510
        PR fortran/51792
511
        * resolve.c (resolve_typebound_function): Restore 'static' to
512
        declaration.
513
 
514
2012-01-09  Mikael Morin  
515
 
516
        PR fortran/51758
517
        * trans-array.c (gfc_walk_elemental_function_args):
518
        Skip over NULL() actual arguments.
519
 
520
2012-01-09  Tobias Burnus  
521
 
522
        * gfortran.texi: Bump copyright year.
523
        (Fortran 2003 Status): Update polymorphism item, add
524
        item for generic interface with DT name.
525
 
526
2012-01-09  Tobias Burnus  
527
 
528
        PR fortran/51578
529
        * gfortran.h (gfc_use_list):
530
        * match.h (gfc_use_module): Rename to ...
531
        (gfc_use_modules): ... this.
532
        * module.c (use_locus, specified_nonint, specified_int): Remove
533
        global variable.
534
        (module_name): Change type to const char*, used with gfc_get_string.
535
        (module_list): New global variable.
536
        (free_rename): Free argument not global var.
537
        (gfc_match_use): Save match to module_list.
538
        (load_generic_interfaces, read_module): Don't free symtree.
539
        (write_dt_extensions, gfc_dump_module): Fix module-name I/O due to the
540
        type change of module_name.
541
        (write_symbol0, write_generic): Optimize due to the type change.
542
        (import_iso_c_binding_module, use_iso_fortran_env_module): Use
543
        locus of rename->where.
544
        (gfc_use_module): Take module_list as argument.
545
        (gfc_use_modules): New function.
546
        (gfc_module_init_2, gfc_module_done_2): Init module_list, rename_list.
547
        * parse.c (last_was_use_stmt): New global variable.
548
        (use_modules): New function.
549
        (decode_specification_statement, decode_statement): Move USE match up
550
        and call use_modules.
551
        (next_free, next_fixed): Call use_modules.
552
        (accept_statement): Don't call gfc_module_use.
553
 
554
2012-01-06  Tobias Burnus 
555
 
556
        * trans-openmp.c (gfc_omp_clause_dtor, gfc_trans_omp_array_reduction):
557
        Update call to gfc_trans_dealloc_allocated.
558
        * trans.c (gfc_allocate_using_malloc): Fix spacing.
559
        (gfc_allocate_allocatable): For gfc_allocate_using_lib, jump to
560
        label_finish when an error occurs.
561
        (gfc_deallocate_with_status): Call caf_deregister for -fcoarray=lib.
562
        * trans.h (gfc_allocate_allocatable, gfc_deallocate_with_status):
563
        Update prototype.
564
        (gfor_fndecl_caf_deregister): New tree symbol.
565
        * trans-expr.c (gfc_conv_procedure_call): Update
566
        gfc_deallocate_with_status and gfc_trans_dealloc_allocated calls.
567
        * trans-array.c (gfc_array_allocate, gfc_trans_dealloc_allocated,
568
        structure_alloc_comps, gfc_trans_deferred_array): Ditto.
569
        (gfc_array_deallocate): Handle coarrays with -fcoarray=lib.
570
        * trans-array.h (gfc_array_deallocate, gfc_array_allocate,
571
        gfc_trans_dealloc_allocated): Update prototypes.
572
        * trans-stmt.c (gfc_trans_sync): Fix indentation.
573
        (gfc_trans_allocate): Fix errmsg padding and label handling.
574
        (gfc_trans_deallocate): Ditto and handle -fcoarray=lib.
575
        * expr.c (gfc_is_coarray): Fix algorithm for BT_CLASS.
576
        * libgfortran.h (GFC_STAT_STOPPED_IMAGE): Use large value
577
        to avoid other stats accidentally matching this one.
578
        * trans-decl.c (gfor_fndecl_caf_deregister): New global var.
579
        (gfc_build_builtin_function_decls): Fix prototype decl of caf_register
580
        and add decl for caf_deregister.
581
        (gfc_trans_deferred_vars): Handle CAF vars with -fcoarrays=lib.
582
        * trans-intrinsic.c (conv_intrinsic_move_alloc): Update call to
583
        gfc_deallocate_with_status.
584
 
585
2012-01-05  Paul Thomas  
586
 
587
        PR fortran/PR48946
588
        * resolve.c (resolve_typebound_static): If the typebound
589
        procedure is 'deferred' try to find the correct specific
590
        procedure in the derived type operator space itself.
591
 
592
2012-01-04  Mikael Morin  
593
 
594
        PR fortran/50981
595
        * trans-array.h (gfc_walk_elemental_function_args): New argument.
596
        * trans-intrinsic.c (gfc_walk_intrinsic_function): Update call.
597
        * trans-stmt.c (gfc_trans_call): Ditto.
598
        * trans-array.c (gfc_walk_function_expr): Ditto.
599
        (gfc_walk_elemental_function_args): Get the dummy argument list
600
        if possible.  Check that the dummy and the actual argument are both
601
        optional, and set can_be_null_ref accordingly.
602
 
603
2012-01-04  Mikael Morin  
604
 
605
        PR fortran/50981
606
        * trans.h (struct gfc_ss_info): New field data::scalar::can_be_null_ref
607
        * trans-array.c: If the reference can be NULL, save the reference
608
        instead of the value.
609
        * trans-expr.c (gfc_conv_expr): If we have saved a reference,
610
        dereference it.
611
 
612
2012-01-04  Mikael Morin  
613
 
614
        * trans-expr.c (gfc_conv_expr): Move address taking...
615
        (gfc_conv_expr_reference): ... here.
616
 
617
2012-01-04  Thomas Koenig  
618
 
619
        PR fortran/49693
620
        * trans-common.c (create_common): Update copyright years.  Mark
621
        variables as used to avoid warnings about unused variables in
622
        common blocks.
623
 
624
2012-01-03  Hans-Peter Nilsson  
625
 
626
        * gfortran.h (struct gfc_expr): Add missing "struct"
627
        qualifier for member base_expr.
628
 
629
2012-01-02  Paul Thomas  
630
 
631
        PR fortran/51529
632
        * trans-array.c (gfc_array_allocate): Null allocated memory of
633
        newly allocted class arrays.
634
 
635
        PR fortran/46262
636
        PR fortran/46328
637
        PR fortran/51052
638
        * interface.c(build_compcall_for_operator): Add a type to the
639
        expression.
640
        * trans-expr.c (conv_base_obj_fcn_val): New function.
641
        (gfc_conv_procedure_call): Use base_expr to detect non-variable
642
        base objects and, ensuring that there is a temporary variable,
643
        build up the typebound call using conv_base_obj_fcn_val.
644
        (gfc_trans_class_assign): Pick out class procedure pointer
645
        assignments and do the assignment with no further prcessing.
646
        (gfc_trans_class_array_init_assign, gfc_trans_class_init_assign
647
        gfc_trans_class_assign): Move to top of file.
648
        * gfortran.h : Add 'base_expr' field to gfc_expr.
649
        * resolve.c (get_declared_from_expr): Add 'types' argument to
650
        switch checking of derived types on or off.
651
        (resolve_typebound_generic_call): Set the new argument.
652
        (resolve_typebound_function, resolve_typebound_subroutine):
653
        Set 'types' argument for get_declared_from_expr appropriately.
654
        Identify base expression, if not a variable, in the argument
655
        list of class valued calls. Assign it to the 'base_expr' field
656
        of the final expression. Strip away all references after the
657
        last class reference.
658
 
659
2012-01-02  Tobias Burnus  
660
 
661
        PR fortran/51682
662
        * trans-intrinsic.c (trans_this_image, trans_image_index,
663
        trans_num_images, conv_intrinsic_cobound): Fold_convert the
664
        caf_num_images/caf_this_images variables to the correct int kind.
665
 
666
2012-01-01  Jakub Jelinek  
667
 
668
        * gfortranspec.c (lang_specific_driver): Update copyright notice
669
        dates.
670
 
671
Copyright (C) 2012 Free Software Foundation, Inc.
672
 
673
Copying and distribution of this file, with or without modification,
674
are permitted in any medium without royalty provided the copyright
675
notice and this notice are preserved.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.