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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [fortran/] [ChangeLog] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 285 jeremybenn
2010-07-31  Release Manager
2
 
3
        * GCC 4.5.1 released.
4
 
5
2010-07-21  Steven G. Kargl  
6
 
7
        PR fortran/44929
8
        * Revert my commit r162326 for this PR.
9
 
10
2010-07-19  Steven G. Kargl  
11
 
12
        PR fortran/44929
13
        * fortran/match.c (match_type_spec): Check for derived type before
14
        intrinsic types.
15
 
16
2010-07-18  Daniel Franke  
17
            Paul Thomas  
18
 
19
        PR fortran/30668
20
        PR fortran/31346
21
        PR fortran/34260
22
        * resolve.c (resolve_global_procedure): Improved checking if an
23
        explicit interface is required.
24
 
25
        PR fortran/40011
26
        * resolve.c (resolve_global_procedure): Resolve the gsymbol's
27
        namespace before trying to reorder the gsymbols.
28
 
29
2010-07-11  Paul Thomas  
30
 
31
        PR fortran/44773
32
        * trans-expr.c (arrayfunc_assign_needs_temporary): No temporary
33
        if the lhs has never been host associated, as well as not being
34
        use associated, a pointer or a target.
35
        * resolve.c (resolve_variable): Mark variables that are host
36
        associated.
37
        * gfortran.h: Add the host_assoc bit to the symbol_attribute
38
        structure.
39
 
40
2010-07-08  Jakub Jelinek  
41
 
42
        PR fortran/44847
43
        * match.c (match_exit_cycle): Error on EXIT also from collapsed
44
        !$omp do loops.  Error on CYCLE to non-innermost collapsed
45
        !$omp do loops.
46
 
47
2010-06-29  Paul Thomas  
48
 
49
        PR fortran/44582
50
        * trans-expr.c (arrayfunc_assign_needs_temporary): New function
51
        to determine if a function assignment can be made without a
52
        temporary.
53
        (gfc_trans_arrayfunc_assign): Move all the conditions that
54
        suppress the direct function call to the above new functon and
55
        call it.
56
 
57
2010-06-27  Paul Thomas  
58
 
59
        PR fortran/43841
60
        PR fortran/43843
61
        * trans-expr.c (gfc_conv_expr): Supply an address expression for
62
        GFC_SS_REFERENCE.
63
        (gfc_conv_expr_reference): Call gfc_conv_expr and return for
64
        GFC_SS_REFERENCE.
65
        * trans-array.c (gfc_add_loop_ss_code): Store the value rather
66
        than the address of a GFC_SS_REFERENCE.
67
        * trans.h : Change comment on GFC_SS_REFERENCE.
68
 
69
2010-06-22  Tobias Burnus  
70
 
71
        PR fortran/44556
72
        * resolve.c (resolve_allocate_deallocate): Properly check
73
        part-refs in stat=/errmsg= for invalid use.
74
 
75
2010-06-15  Tobias Burnus  
76
 
77
        * gfc-internals.texi (copyrights-gfortran): Fix copyright year format.
78
        * gfortran.texi (copyrights-gfortran): Ditto.
79
 
80
2010-06-15  Jakub Jelinek  
81
 
82
        PR fortran/44536
83
        * trans-openmp.c (gfc_omp_predetermined_sharing): Don't return
84
        OMP_CLAUSE_DEFAULT_SHARED for artificial vars with
85
        GFC_DECL_SAVED_DESCRIPTOR set.
86
        (gfc_omp_report_decl): New function.
87
        * trans.h (gfc_omp_report_decl): New prototype.
88
        * f95-lang.c (LANG_HOOKS_OMP_REPORT_DECL): Redefine.
89
 
90
2010-06-12  Daniel Franke  
91
 
92
        PR fortran/44347
93
        * check.c (gfc_check_selected_real_kind): Verify that the
94
        actual arguments are scalar.
95
 
96
2010-06-12  Janus Weil  
97
 
98
        PR fortran/44430
99
        * dump-parse-tree.c (show_symbol): Avoid infinite loop.
100
 
101
2010-06-09  Steven G. Kargl  
102
 
103
        * fortran/intrinsic.c (add_functions): Change gfc_check_btest,
104
        gfc_check_ibclr, and gfc_check_ibset to gfc_check_bitfcn.
105
        * fortran/intrinsic.h: Remove prototypes for gfc_check_btest,
106
        gfc_check_ibclr, and gfc_check_ibset.  Add prototype for
107
        gfc_check_bitfcn.
108
        * fortran/check.c (nonnegative_check, less_than_bitsize1,
109
        less_than_bitsize2): New functions.
110
        (gfc_check_btest): Renamed to gfc_check_bitfcn.  Use
111
        nonnegative_check and less_than_bitsize1.
112
        (gfc_check_ibclr, gfc_check_ibset): Removed.
113
        (gfc_check_ibits,gfc_check_mvbits): Use nonnegative_check and
114
        less_than_bitsize1.
115
 
116
2010-06-02  Tobias Burnus  
117
 
118
        PR fortran/44360
119
        * parse.c (gfc_fixup_sibling_symbols): Do not "fix" use-associated
120
        symbols.
121
 
122
2010-05-19  Tobias Burnus  
123
 
124
        PR fortran/43591
125
        * expr.c (gfc_is_constant_expr, gfc_traverse_expr): Handle
126
        proc-pointers and type-bound procedures.
127
        (gfc_specification_expr): Check proc-pointers for pureness.
128
 
129
2010-05-14  Steven G. Kargl  
130
 
131
        PR fortran/44135
132
        * fortran/interface.c (get_sym_storage_size): Use signed instead of
133
        unsigned mpz_get_?i routines.
134
 
135
2010-05-13  Jakub Jelinek  
136
 
137
        PR fortran/44036
138
        * openmp.c (resolve_omp_clauses): Allow procedure pointers in clause
139
        variable lists.
140
        * trans-openmp.c (gfc_omp_privatize_by_reference): Don't privatize
141
        by reference dummy procedures or non-dummy procedure pointers.
142
        (gfc_omp_predetermined_sharing): Return
143
        OMP_CLAUSE_DEFAULT_FIRSTPRIVATE for dummy procedures.
144
 
145
2010-05-12  Daniel Franke  
146
 
147
        PR fortran/40728
148
        * intrinc.c (gfc_is_intrinsic): Do not prematurely mark symbol
149
        as external.
150
 
151
2010-05-06  Tobias Burnus  
152
 
153
        PR fortran/43985
154
        * trans-types.c (gfc_sym_type): Mark Cray pointees as
155
        GFC_POINTER_TYPE_P.
156
 
157
2010-05-05  Steven G. Kargl  
158
 
159
        PR fortran/43592
160
        * fortran/parse.c (parse_interface): Do not dereference a NULL pointer.
161
 
162
2010-04-25  Janne Blomqvist  
163
 
164
        PR fortran/40539
165
        * gcc/fortran/gfortran.texi: Add section about representation of
166
        LOGICAL variables.
167
 
168
2010-04-24  Steven G. Kargl  
169
 
170
        PR fortran/30073
171
        PR fortran/43793
172
        * trans-array.c (gfc_trans_array_bound_check): Use TREE_CODE instead
173
        of mucking with a tree directly.
174
 
175
2010-04-24  Paul Thomas  
176
 
177
        PR fortran/43227
178
        * resolve.c (resolve_fl_derived): If a component character
179
        length has not been resolved, do so now.
180
        (resolve_symbol): The same as above for a symbol character
181
        length.
182
        * trans-decl.c (gfc_create_module_variable): A 'length' decl is
183
        not needed for a character valued, procedure pointer.
184
 
185
        PR fortran/43266
186
        * resolve.c (ensure_not_abstract_walker): If 'overriding' is
187
        not found, return FAILURE rather than ICEing.
188
 
189
2010-04-21  Jakub Jelinek  
190
 
191
        PR fortran/43836
192
        * f95-lang.c (gfc_define_builtin): Set TREE_NOTHROW on
193
        the decl.
194
 
195
2010-04-20  Harald Anlauf  
196
 
197
        * intrinsic.c (sort_actual): Remove 'is' in error message.
198
 
199
2010-04-20  Jakub Jelinek  
200
 
201
        PR fortran/43339
202
        * openmp.c (gfc_resolve_do_iterator): Only make iteration vars for
203
        sequential loops private in the innermost containing task region.
204
 
205
2010-04-17  Steven G. Kargl  
206
 
207
        PR fortran/31538
208
        * fortran/trans-array.c (gfc_conv_ss_startstride): Remove the use of
209
        gfc_msg_bounds by using 'Array bound mismatch' directly.
210
        (gfc_trans_dummy_array_bias):  Remove the use of gfc_msg_bounds.  Reword
211
        error message to include the mismatch in the extent of array bound.
212
        * fortran/trans.c: Remove gfc_msg_bounds.  It is only used in one place.
213
        * fortran/trans.h: Remove extern definition of gfc_msg_bounds.
214
 
215
2010-04-16  Steven G. Kargl  
216
 
217
        PR fortran/30073
218
        * trans-array.c (gfc_trans_array_bound_check): Eliminate a redundant
219
        block of code.  Set name to the variable associated with the descriptor.
220
 
221
2010-04-14  Release Manager
222
 
223
        * GCC 4.5.0 released.
224
 
225
2010-03-31  Paul Thomas  
226
 
227
        * ioparm.def : Update copyright.
228
        * lang.opt : ditto
229
        * trans-array.c : ditto
230
        * trans-array.h : ditto
231
        * expr.c: ditto
232
        * trans-types.c: ditto
233
        * dependency.c : ditto
234
        * gfortran.h : ditto
235
        * options.c : ditto
236
        * trans-io.c : ditto
237
        * trans-intrinsic.c : ditto
238
        * libgfortran.h : ditto
239
        * invoke.texi : ditto
240
        * intrinsic.texi : ditto
241
        * trans.c : ditto
242
        * trans.h : ditto
243
        * intrinsic.c : ditto
244
        * interface.c : ditto
245
        * iresolve.c : ditto
246
        * trans-stmt.c : ditto
247
        * trans-stmt.h : ditto
248
        * parse,c : ditto
249
        * match.h : ditto
250
        * error.c : ditto
251
 
252
2010-03-20  Paul Thomas  
253
 
254
        PR fortran/43450
255
        * trans-decl.c (gfc_create_module_variable): With -fwhole-file
256
        do not assert the context of derived types.
257
 
258
2010-03-20  Jerry DeLisle  
259
 
260
        PR fortran/43409
261
        * ioparm.def: Change inquire size variable to type pointer to
262
        GFC_IO_INT type.
263
 
264
2010-03-18  Paul Thomas  
265
 
266
        PR fortran/43039
267
        * trans-expr.c (conv_parent_component_references): Ensure that
268
        'dt' has a backend_decl.
269
 
270
        PR fortran/43043
271
        * trans-expr.c (gfc_conv_structure): Ensure that the derived
272
        type has a backend_decl.
273
 
274
        PR fortran/43044
275
        * resolve.c (resolve_global_procedure): Check that the 'cl'
276
        structure is not NULL.
277
 
278
2010-03-18  Shujing Zhao  
279
 
280
        * lang.opt (-ffixed-line-length-, ffree-line-length-): Remove
281
        redundant tab.
282
 
283
2010-03-17  Tobias Burnus  
284
 
285
        PR fortran/43331
286
        * trans-array.c (gfc_conv_array_index_offset,gfc_conv_array_ref,
287
        gfc_conv_ss_startstride): Remove no-longer-needed cp_was_assumed
288
        check.
289
        * decl.c (gfc_match_derived_decl): Don't mark assumed-size Cray
290
        pointees as having explizit size.
291
        * expr.c (gfc_check_assign): Remove now unreachable Cray pointee
292
        check.
293
        * trans-types.c (gfc_is_nodesc_array): Add cp_was_assumed to assert.
294
        (gfc_sym_type): Don't mark Cray pointees as restricted pointers.
295
        * resolve.c (resolve_symbol): Handle cp_was_assumed.
296
        * trans-decl.c (gfc_trans_deferred_vars): Ditto.
297
        (gfc_finish_var_decl): Don't mark Cray pointees as restricted
298
        pointers.
299
 
300
2010-03-14  Tobias Burnus  
301
 
302
        PR fortran/43362
303
        * resolve.c (resolve_structure_cons): Add missing PURE constraint.
304
        (resolve_ordinary_assign): Add check to avoid segfault.
305
 
306
2010-03-12  Paul Thomas  
307
 
308
        PR fortran/43291
309
        PR fortran/43326
310
        * resolve.c (resolve_compcall): Add new boolean dummy argument
311
        'class_members'. Only resolve expression at end if false.
312
        Remove redundant, static variable 'class_object'.
313
        (check_class_members): Add extra argument to call of
314
        resolve_compcall.
315
        (resolve_typebound_function): Renamed resolve_class_compcall.
316
        Do all the detection of class references here. Correct calls to
317
        resolve_compcall for extra argument.
318
        (resolve_typebound_subroutine): resolve_class_typebound_call
319
        renamed. Otherwise same as resolve_typebound_function.
320
        (gfc_resolve_expr): Call resolve_typebound_function.
321
        (resolve_code): Call resolve_typebound_subroutine.
322
 
323
2010-03-10  Tobias Burnus  
324
 
325
        PR fortran/43303
326
        * symbol.c (get_iso_c_sym): Set sym->result.
327
 
328
2010-03-08  Janus Weil  
329
 
330
        PR fortran/43256
331
        * resolve.c (resolve_compcall): Don't set 'value.function.name' here
332
        for TBPs, otherwise they will not be resolved properly.
333
        (resolve_function): Use 'value.function.esym' instead of
334
        'value.function.name' to check if we're dealing with a TBP.
335
        (check_class_members): Set correct type of passed object for all TBPs,
336
        not only generic ones, except if the type is abstract.
337
 
338
2010-03-04  Janus Weil  
339
 
340
        PR fortran/43244
341
        * decl.c (gfc_match_final_decl): Make sure variable names starting with
342
        'final...' are not misinterpreted as FINAL statements.
343
 
344
2010-03-03  Paul Thomas  
345
 
346
        PR fortran/43243
347
        * trans-array.c (gfc_conv_array_parameter): Contiguous refs to
348
        allocatable ultimate components do not need temporaries, whilst
349
        ultimate pointer components do.
350
 
351
2010-03-03  Janus Weil  
352
 
353
        PR fortran/43169
354
        * resolve.c (resolve_code): Correctly set gfc_current_ns for
355
        EXEC_SELECT_TYPE.
356
        (gfc_impure_variable): Make it work with sub-namespaces (BLOCK etc).
357
        (gfc_pure): Ditto.
358
 
359
2010-03-02  Paul Thomas  
360
 
361
        PR fortran/43180
362
        * trans-array.c (gfc_conv_array_parameter): A full array of
363
        derived type need not be restricted to a symbol without an
364
        array spec to use the call to gfc_conv_expr_descriptor.
365
 
366
        PR fortran/43173
367
        * trans-array.c (gfc_conv_array_parameter): Contiguous refs to
368
        allocatable arrays do not need temporaries.
369
 
370
2010-03-01  Tobias Burnus  
371
 
372
        PR fortran/43199
373
        * resolve.c (find_array_spec): Handle REF_COMPONENT with
374
        CLASS components.
375
 
376
2010-02-28  Tobias Burnus  
377
 
378
        PR fortran/43205
379
        * trans-expr.c (is_zero_initializer_p): Move up in the file.
380
        (gfc_conv_initializer): Handle zero initializer as special case.
381
 
382
2010-02-27  Tobias Burnus  
383
 
384
        PR fortran/43185
385
        * resolve.c (resolve_fl_variable_derived): Imply SAVE
386
        for module variables for Fortran 2008.
387
 
388
2010-02-25  Jakub Jelinek  
389
 
390
        PR debug/43166
391
        * trans-common.c (build_common_decl): Also update DECL_MODE,
392
        and DECL_SIZE when encountering a larger common block and call
393
        layout_decl.
394
 
395
2010-02-24  Tobias Burnus  
396
 
397
        PR fortran/43042
398
        * trans-expr.c (gfc_conv_initializer): Call directly
399
        gfc_conv_constant for C_NULL_(FUN)PTR.
400
 
401
2010-02-22  Paul Thomas  
402
 
403
        PR fortran/43072
404
        * dependency.c (gfc_full_array_ref_p): Check for contiguous by
405
        checking the rest of the dimensions for elements.
406
 
407
2010-02-21  Tobias Burnus  
408
 
409
        PR fortran/35259
410
        * gfortran.h (gfc_option_t): New flag -fprotect-parens.
411
        * lang.opt: Ditto.
412
        * option.c (gfc_init_options,gfc_handle_option): Ditto.
413
        * trans-expr.c (gfc_conv_expr_op): Use the flag.
414
        * invoke.texi: Document new -fno-protect-parens flag.
415
 
416
2010-02-20  Paul Thomas  
417
 
418
        PR fortran/36932
419
        PR fortran/36933
420
        PR fortran/43072
421
        PR fortran/43111
422
        * dependency.c (gfc_check_argument_var_dependency): Use enum
423
        value instead of arithmetic vaue for 'elemental'.
424
        (check_data_pointer_types): New function.
425
        (gfc_check_dependency): Call check_data_pointer_types.
426
        * trans-array.h : Change fourth argument of
427
        gfc_conv_array_parameter to boolean.
428
        * trans-array.c (gfc_conv_array_parameter): A contiguous array
429
        can be a dummy but it must not be assumed shape or deferred.
430
        Change fourth argument to boolean. Array constructor exprs will
431
        always be contiguous and do not need packing and unpacking.
432
        * trans-expr.c (gfc_conv_procedure_call): Clean up some white
433
        space and change fourth argument of gfc_conv_array_parameter
434
        to boolean.
435
        (gfc_trans_arrayfunc_assign): Change fourth argument of
436
        gfc_conv_array_parameter to boolean.
437
        * trans-io.c (gfc_convert_array_to_string): The same.
438
        * trans-intrinsic.c (gfc_conv_intrinsic_loc): The same.
439
 
440
2010-02-20  Tobias Burnus  
441
 
442
        PR fortran/42958
443
        * libgfortran.h: Add GFC_RTCHECK_MEM.
444
        * invoke.texi (-fcheck=): Document -fcheck=mem.
445
        * tranc.c (gfc_call_malloc): Remove negative-size run-time error
446
        and enable malloc-success check only with -fcheck=mem.
447
        * option.c (gfc_handle_runtime_check_option): Add -fcheck=mem.
448
 
449
2010-02-16  Tobias Burnus  
450
 
451
        PR fortran/43040
452
        * gfortran.h (gfc_isym_id): Rename GFS_ISYM_GAMMA to GFS_ISYM_TGAMMA.
453
        * intrinsic.c (add_functions): Ditto.
454
        * iresolve.c (gfc_resolve_gamma): Call tgamma instead of gamma.
455
        * mathbuiltins.def: Use TGAMMA instead of GAMMA with "tgamma".
456
 
457
2010-02-14  Jerry DeLisle  
458
 
459
        PR fortran/32382
460
        * trans-stmt.h: Add prototype for gfc_trans_code_cond. Add tree cond to
461
        gfc_trans_do prototype.
462
        * trans-stmt.c (gfc_trans_simple_do): Add optional argument to pass in
463
        a loop exit condition.  If exit condition is given, build the loop exit
464
        code, checking IO results of implied do loops in READ and WRITE.
465
        (gfc_trans_do): Likewise.
466
        * trans.c (trans_code): New static work function, previously
467
        gfc_trans_code. Passes exit condition to gfc_trans_do.
468
        (gfc_trans_code): Calls trans_code with NULL_TREE condition.
469
        (gfc_trans_code_cond): Calls trans_code with loop exit condition.
470
        * trans-io.c (build_dt): Build an exit condition to allow checking IO
471
        result status bits in the dtparm structure. Use this condition in call
472
        to gfc_trans_code_cond.
473
 
474
2010-02-13  Paul Thomas  
475
 
476
        PR fortran/41113
477
        PR fortran/41117
478
        * trans-array.c (gfc_conv_array_parameter): Use
479
        gfc_full_array_ref_p to detect full and contiguous variable
480
        arrays. Full array components and contiguous arrays do not need
481
        internal_pack and internal_unpack.
482
 
483
2010-02-11  Jakub Jelinek  
484
 
485
        PR fortran/43030
486
        * resolve.c (gfc_resolve_dim_arg): Call gfc_clear_ts.
487
 
488
        PR fortran/43029
489
        * decl.c (enumerator_decl): Don't call gfc_free_enum_history
490
        here.
491
        (gfc_match_enumerator_def): But here whenever enumerator_decl returns
492
        MATCH_ERROR.
493
 
494
2010-02-10  Joost VandeVondele 
495
            Tobias Burnus 
496
 
497
        PR fortran/40823
498
        * decl.c (gfc_match_subroutine): Explicitly set sym->declared_at.
499
 
500
2010-02-10  Tobias Burnus  
501
 
502
        PR fortran/43015
503
        * trans-decl.c (gfc_generate_function_code): Only check
504
        actual-vs.-dummy character bounds if not bind(C).
505
 
506
2010-02-10  Jakub Jelinek  
507
 
508
        PR fortran/42309
509
        * trans-expr.c (gfc_conv_subref_array_arg): Avoid accessing
510
        info->dimen after info has been freed.
511
 
512
2010-02-09  Jerry DeLisle  
513
 
514
        PR fortran/42999
515
        * array.c (gfc_constant_ac): Do not prevent expansion of constructors
516
        with iterators.
517
 
518
2010-02-09  Jakub Jelinek  
519
 
520
        * module.c (fix_mio_expr): Declare sym.
521
 
522
2010-02-09  Paul Thomas  
523
 
524
        PR fortran/41869
525
        * module.c (fix_mio_expr): Fix for private generic procedures.
526
 
527
2010-02-09  Daniel Kraft  
528
 
529
        PR fortran/39171
530
        * resolve.c (resolve_charlen): Change warning about negative CHARACTER
531
        length to be correct and issue only with -Wsurprising.
532
        * invoke.texi (Wsurprising): Mention this new warning that is
533
        turned on by -Wsurprising.
534
 
535
2010-02-09  Daniel Kraft  
536
 
537
        PR fortran/41507
538
        * intrinsic.texi (MAXVAL): Remove wrong claim that array argument
539
        can be CHARACTER type.
540
        (MINVAL), (MAXLOC), (MINLOC): Ditto.
541
 
542
2010-02-05  Paul Thomas  
543
 
544
        PR fortran/42309
545
        * trans-expr.c (gfc_conv_subref_array_arg): Add new argument
546
        'formal_ptr'. If this is true, give returned descriptor unity
547
        lbounds, in all dimensions, and the appropriate offset.
548
        (gfc_conv_procedure_call); If formal is a pointer, set the last
549
        argument of gfc_conv_subref_array_arg to true.
550
        * trans.h : Add last argument for gfc_conv_subref_array_arg.
551
        * trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
552
        new arg of gfc_conv_subref_array_arg to false.
553
        * trans-stmt.c (forall_make_variable_temp): The same.
554
 
555
2010-02-03  Tobias Burnus  
556
 
557
        PR fortran/42936
558
        * interface.c (compare_parameter): Disable rank-checking
559
        for NULL().
560
 
561
2010-02-02  Tobias Burnus  
562
 
563
        PR fortran/42650
564
        * parse.c (decode_specification_statement): Use sym->result not sym.
565
 
566
2010-02-01  Tobias Burnus  
567
 
568
        PR fortran/42922
569
        * decl.c (variable_decl): Allow default initializer in
570
        TYPE declarations in PURE functions.
571
 
572
2010-01-31  Janus Weil  
573
 
574
        PR fortran/42888
575
        * resolve.c (resolve_allocate_expr): Move default initialization code
576
        here from gfc_trans_allocate.
577
        * trans.c (gfc_trans_code): Call gfc_trans_class_assign also for
578
        EXEC_INIT_ASSIGN.
579
        * trans-expr.c (gfc_trans_class_assign): Handle default initialization
580
        of CLASS variables via memcpy.
581
        * trans-stmt.c (gfc_trans_allocate): Move default initialization code
582
        to resolve_allocate_expr.
583
 
584
2010-01-31  Paul Thomas  
585
 
586
        PR fortran/38324
587
        * expr.c (gfc_get_full_arrayspec_from_expr): New function.
588
        * gfortran.h : Add prototype for above.
589
        * trans-expr.c (gfc_trans_alloc_subarray_assign): New function.
590
        (gfc_trans_subcomponent_assign): Call new function to replace
591
        the code to deal with allocatable components.
592
        * trans-intrinsic.c (gfc_conv_intrinsic_bound): Call
593
        gfc_get_full_arrayspec_from_expr to replace existing code.
594
 
595
2010-01-25  Tobias Burnus  
596
 
597
        PR fortran/42858
598
        * array.c (gfc_array_dimen_size): Fix intrinsic procedure
599
        check.
600
 
601
2010-01-24  Paul Thomas  
602
 
603
        PR fortran/41044
604
        PR fortran/41167
605
        * expr.c (remove_subobject_ref): If the constructor is NULL use
606
        the expression as the source.
607
        (simplify_const_ref): Change the type of expression if
608
        there are component references.  Allow for substring to be at
609
        the end of an arbitrarily long chain of references.  If an
610
        element is found that is not in an EXPR_ARRAY, assume that this
611
        is scalar initialization of array. Call remove_subobject_ref in
612
        this case with NULL second argument.
613
 
614
2010-01-24  Tobias Burnus  
615
 
616
        PR fortran/39304
617
        * array.c (gfc_array_dimen_size): Use correct specific
618
        function in the check.
619
 
620
2010-01-21  Paul Thomas  
621
 
622
        PR fortran/42736
623
        * trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
624
        is required, turn any trailing array elements after a range
625
        into ranges so that offsets can be calculated.
626
 
627
2010-01-20  Joern Rennecke  
628
 
629
        * module.c (mio_f2k_derived): Use enumerator as initializer of
630
        enum variable.
631
 
632
        PR bootstrap/42812
633
        * gfortran.h  (struct gfc_namespace) : Change to signed
634
        bitfield of width 2.
635
 
636
2010-01-19  Janus Weil  
637
 
638
        PR fortran/42804
639
        * resolve.c (extract_compcall_passed_object): Set locus for
640
        passed-object argument.
641
        (extract_ppc_passed_object): Set locus and correctly remove PPC
642
        reference.
643
 
644
2010-01-19  Paul Thomas  
645
 
646
        PR fortran/42783
647
        * trans-decl.c (add_argument_checking): Do not use the backend
648
        decl directly to test for the presence of an optional dummy
649
        argument.  Use gfc_conv_expr_present, remembering to set the
650
        symbol referenced.
651
 
652
        PR fortran/42772
653
        * trans-decl.c (gfc_generate_function_code): Small white space
654
        changes. If 'recurcheckvar' is NULL do not try to reset it.
655
 
656
2010-01-19  Janus Weil  
657
 
658
        PR fortran/42545
659
        * resolve.c (resolve_fl_derived): Set the accessibility of the parent
660
        component for extended types.
661
        * symbol.c (gfc_find_component): Remove a wrongly-worded error message
662
        and take care of parent component accessibility.
663
 
664
2010-01-17  Janus Weil  
665
 
666
        PR fortran/42677
667
        * gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
668
        * interface.c (check_interface1): Move a warning message here from
669
        resolve_fl_procedure.
670
        (check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
671
        * module.c (read_module): Remove call to gfc_check_interfaces, since
672
        this comes too early here.
673
        * resolve.c (resolve_fl_procedure): Move warning message to
674
        check_interface1.
675
 
676
2010-01-14 Jerry DeLisle 
677
 
678
        PR fortran/42684
679
        * interface.c (check_interface1): Pass symbol name rather than NULL to
680
        gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
681
        trap MULL.
682
        * resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
683
        than NULL to gfc_compare_interfaces.
684
 
685
2010-01-14  Paul Thomas  
686
 
687
        PR fortran/41478
688
        * trans-array.c (duplicate_allocatable):  Static version of
689
        gfc_duplicate_allocatable with provision to handle scalar
690
        components. New boolean argument to switch off call to malloc
691
        if true.
692
        (gfc_duplicate_allocatable): New function to call above with
693
        new argument false.
694
        (gfc_copy_allocatable_data): New function to call above with
695
        new argument true.
696
        (structure_alloc_comps): Do not apply indirect reference to
697
        scalar pointers. Add new section to copy allocatable components
698
        of arrays. Extend copying of allocatable components to include
699
        scalars.
700
        (gfc_copy_only_alloc_comp): New function to copy allocatable
701
        component derived types, without allocating the base structure.
702
        * trans-array.h : Add primitive for gfc_copy_allocatable_data.
703
        Add primitive for gfc_copy_only_alloc_comp.
704
        * trans-expr.c (gfc_conv_procedure_call): After calls to
705
        transformational functions with results that are derived types
706
        with allocatable components, copy the components in the result.
707
        (gfc_trans_arrayfunc_assign): Deallocate allocatable components
708
        of lhs derived types before allocation.
709
 
710
2010-01-14  Paul Thomas  
711
 
712
        PR fortran/42481
713
        * module.c (load_generic_interfaces): If a procedure that is
714
        use associated but not generic is given an interface that
715
        includes itself, then make it generic.
716
 
717
2010-01-11  Joseph Myers  
718
            Shujing Zhao  
719
 
720
        PR translation/42469
721
        * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
722
        finit-logical=, finit-real=, fmax-array-constructor=): Use tab
723
        character between option name and help text.
724
 
725
2010-01-09 Jerry DeLisle 
726
 
727
        PR fortran/20923
728
        PR fortran/32489
729
        * trans-array.c (gfc_conv_array_initializer): Change call to
730
        gfc_error_now to call to gfc_fatal_error.
731
        * array.c (count_elements): Whitespace. (extract_element): Whitespace.
732
        (is_constant_element): Changed name from constant_element.
733
        (gfc_constant_ac): Only use expand_construuctor for expression
734
        types of EXPR_ARRAY.  If expression type is EXPR_CONSTANT, no need to
735
        call gfc_is_constant_expr.
736
        * expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
737
        message.
738
        * resolve.c (gfc_is_expandable_expr): New function that determiners if
739
        array expressions should have their constructors expanded.
740
        (gfc_resolve_expr): Use new function to determine whether or not to call
741
        gfc_expand_constructor.
742
 
743
2010-01-09  Tobias Burnus  
744
 
745
        PR fortran/41298
746
        * trans-expr.c (gfc_trans_structure_assign): Handle
747
        c_null_(fun)ptr.
748
        * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
749
        to the constructor for c_null_(fun)ptr.
750
        * resolve.c (resolve_structure_cons): Add special case
751
        for c_null_(fun)ptr.
752
 
753
2010-01-09  Jakub Jelinek  
754
 
755
        * gfortranspec.c (lang_specific_driver): Update copyright notice
756
        dates.
757
 
758
2010-01-08  Tobias Burnus  
759
 
760
        PR/fortran 25829
761
        * symbol.c (check_conflict, gfc_copy_attr): Add
762
        ASYNCHRONOUS support.
763
        (gfc_add_asynchronous): New function.
764
        * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
765
        (gfc_match_asynchronous): New function.
766
        * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
767
        * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
768
        (gfc_add_asynchronous): New Prototype.
769
        * module.c (ab_attribute, mio_symbol_attribute): Add
770
        ASYNCHRONOUS support.
771
        * resolve.c (was_declared): Ditto.
772
        * match.h (gfc_match_asynchronous): New prototype.
773
        * parse.c (decode_specification_statement,decode_statement):
774
        Add ASYNCHRONOUS support.
775
 
776
2010-01-07  Tobias Burnus  
777
 
778
        PR fortran/42597
779
        * trans-decl.c (get_proc_pointer_decl): Fix call to
780
        gfc_conv_initializer for array-valued proc-pointer funcs.
781
 
782
2010-01-07  Tobias Burnus  
783
 
784
        PR fortran/41872
785
        * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
786
        allocatable scalars with SAVE attribute.
787
 
788
2010-01-05  Tobias Burnus  
789
 
790
        PR fortran/42517
791
        * options.c (gfc_post_options): Set -frecursion
792
        when -fopenmp is used.
793
 
794
2010-01-05  Tobias Burnus  
795
 
796
        PR fortran/41872
797
        * trans-expr.c (gfc_conv_procedure_call): Nullify
798
        return value for allocatable-scalar character functions.
799
 
800
2010-01-04  Tobias Burnus  
801
 
802
        PR fortran/36161
803
        * error.c (error_printf, gfc_warning, gfc_notify_std,
804
        gfc_warning_now, gfc_error, gfc_error_now,
805
        gfc_fatal_error): Change argument name from nocmsgid to
806
        gmsgid to enable (x)gettext's % checking.
807
 
808
2010-01-04  Tobias Burnus  
809
 
810
        * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
811
 
812
2010-01-04  Tobias Burnus  
813
 
814
        PR fortran/41872
815
        * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
816
        for functions returning allocatable scalars.
817
        * trans-stmt.c (gfc_trans_allocate): Emmit error when
818
        reallocating an allocatable scalar.
819
        * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
820
        in comment.
821
        * trans-decl.c (gfc_trans_deferred_vars): Nullify local
822
        allocatable scalars.
823
        (gfc_generate_function_code): Nullify result variable for
824
        allocatable scalars.
825
 
826
        PR fortran/40849
827
        * module.c (gfc_use_module): Fix warning string to allow
828
        for translation.
829
 
830
        PR fortran/42517
831
        * invoke.texi (-fcheck=recursion): Mention that the checking
832
        is also disabled for -frecursive.
833
        * trans-decl.c (gfc_generate_function_code): Disable
834
        -fcheck=recursion when -frecursive is used.
835
 
836
        * intrinsic.texi (iso_c_binding): Improve wording.
837
 
838
 
839
Copyright (C) 2010 Free Software Foundation, Inc.
840
 
841
Copying and distribution of this file, with or without modification,
842
are permitted in any medium without royalty provided the copyright
843
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.